Add support for extra extensions provided externally

Former-commit-id: c827feb563cde449090dade2b17bfa6709df37be
This commit is contained in:
Henri Gomez
2014-02-11 14:05:26 +01:00
parent e4fd446946
commit c11cb38269
9 changed files with 99 additions and 9 deletions

View File

@@ -95,6 +95,14 @@ public class ArchiveAnalyzer extends AbstractAnalyzer implements Analyzer {
EXTENSIONS.addAll(ZIPPABLES);
}
/**
* Add a list of file EXTENSIONS to be supported by this analyzer.
*
*/
public void addSupportedExtensions(Set<String> extraExtensions) {
EXTENSIONS.addAll(extraExtensions);
}
/**
* Returns a list of file EXTENSIONS supported by this analyzer.
*

View File

@@ -149,6 +149,10 @@ public final class Settings {
* The path to mono, if available.
*/
public static final String ANALYZER_ASSEMBLY_MONO_PATH = "analyzer.assembly.mono.path";
/**
* The extra extensions, if available.
*/
public static final String EXTRA_EXTENSIONS = "extra.extensions";
}
/**
* The properties file location.