Package | Description |
---|---|
org.opensolaris.opengrok.analysis | |
org.opensolaris.opengrok.analysis.archive |
Modifier and Type | Method and Description |
---|---|
FileAnalyzer.Genre |
FileAnalyzer.getGenre() |
FileAnalyzer.Genre |
FileAnalyzerFactory.getGenre()
The genre this analyzer factory belongs to.
|
static FileAnalyzer.Genre |
AnalyzerGuru.getGenre(FileAnalyzerFactory factory)
Get the genre for a named class (this is most likely an analyzer)
|
static FileAnalyzer.Genre |
AnalyzerGuru.getGenre(java.io.InputStream in)
Get the genre of a bulk of data
|
static FileAnalyzer.Genre |
AnalyzerGuru.getGenre(java.lang.String file)
Get the genre of a file
|
static FileAnalyzer.Genre |
FileAnalyzer.Genre.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileAnalyzer.Genre[] |
FileAnalyzer.Genre.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
FileAnalyzerFactory(java.lang.String[] names,
java.lang.String[] suffixes,
java.lang.String[] magics,
FileAnalyzerFactory.Matcher matcher,
java.lang.String contentType,
FileAnalyzer.Genre genre)
Construct an instance of
FileAnalyzerFactory . |
Modifier and Type | Method and Description |
---|---|
FileAnalyzer.Genre |
BZip2Analyzer.getGenre() |
FileAnalyzer.Genre |
GZIPAnalyzer.getGenre() |