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, setupLocal
public ParserInfo info()
ParserProvider
info
in class ParserProvider
protected ParseSetup guessSetup_impl(ByteVec bv, byte[] bits, ParseSetup userSetup)
ParserProvider
guessSetup_impl
in class ParserProvider
public Parser createParser(ParseSetup setup, Key<Job> jobKey)
ParserProvider
createParser
in class ParserProvider
public ParseSetup createParserSetup(Key[] inputs, ParseSetup requiredSetup)
ParserProvider
createParserSetup
in class ParserProvider
inputs
- input keysrequiredSetup
- user given parser setup