public final class SMFTV1HeaderCommandSchema extends Object implements SMFTHeaderCommandParserType
| Modifier and Type | Field and Description |
|---|---|
static String |
SYNTAX
The command syntax.
|
| Constructor and Description |
|---|
SMFTV1HeaderCommandSchema(SMFTLineReaderType in_reader,
SMFHeader.Builder in_header)
Construct a parser.
|
| Modifier and Type | Method and Description |
|---|---|
String |
name() |
SMFTParsingStatus |
parse(SMFParserEventsHeaderType receiver,
javaslang.collection.List<String> line)
Parse the section, delivering events to
receiver. |
public static final String SYNTAX
public SMFTV1HeaderCommandSchema(SMFTLineReaderType in_reader, SMFHeader.Builder in_header)
in_reader - The current line readerin_header - A header builderpublic String name()
name in interface SMFTHeaderCommandParserTypepublic SMFTParsingStatus parse(SMFParserEventsHeaderType receiver, javaslang.collection.List<String> line) throws IOException
SMFTHeaderCommandParserTypereceiver.parse in interface SMFTHeaderCommandParserTypereceiver - The event receiverline - The current lineIOException - On I/O errorsCopyright © 2017 <code@io7m.com> http://io7m.com