public static final class DefaultParserProviders.GuessParserProvider extends ParserProvider
| Constructor and Description |
|---|
GuessParserProvider() |
| 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.
|
protected ParseSetup |
guessSetup_impl(ByteVec bv,
byte[] bits,
ParseSetup userSetup)
Actual implementation of the guessSetup method.
|
ParserInfo |
info()
Technical information for this parser
|
guessFinalSetup, guessInitSetup, guessSetup, guessSetup, setupLocalpublic ParserInfo info()
ParserProviderinfo in class ParserProviderprotected ParseSetup guessSetup_impl(ByteVec bv, byte[] bits, ParseSetup userSetup)
ParserProviderguessSetup_impl in class ParserProviderpublic Parser createParser(ParseSetup setup, Key<Job> jobKey)
ParserProvidercreateParser in class ParserProviderpublic ParseSetup createParserSetup(Key[] inputs, ParseSetup requiredSetup)
ParserProvidercreateParserSetup in class ParserProviderinputs - input keysrequiredSetup - user given parser setup