public static final class DefaultParserProviders.ArffParserProvider extends ParserProvider
| Constructor and Description |
|---|
ArffParserProvider() |
| Modifier and Type | Method and Description |
|---|---|
Parser |
createParser(ParseSetup setup,
Key<Job> jobKey)
Create a new parser
|
ParseSetup |
createParserSetup(Key[] inputs,
ParseSetup requiredSetup)
Create a parser specific setup.
|
ParseSetup |
guessInitSetup(ByteVec v,
byte[] bits,
ParseSetup ps)
Constructs initial ParseSetup from a given user setup
Any exception thrown by this method will signal that this ParserProvider doesn't support
the input data.
|
ParserInfo |
info()
Technical information for this parser
|
guessFinalSetup, guessSetup_impl, guessSetup, guessSetup, setupLocalpublic ParserInfo info()
ParserProviderinfo in class ParserProviderpublic Parser createParser(ParseSetup setup, Key<Job> jobKey)
ParserProvidercreateParser in class ParserProviderpublic ParseSetup guessInitSetup(ByteVec v, byte[] bits, ParseSetup ps)
ParserProviderguessInitSetup in class ParserProviderv - optional ByteVecbits - first bytes of the fileps - user specified setuppublic ParseSetup createParserSetup(Key[] inputs, ParseSetup requiredSetup)
ParserProvidercreateParserSetup in class ParserProviderinputs - input keysrequiredSetup - user given parser setup