public final class SMFTV1BodySectionParserTriangles extends Object implements SMFTBodySectionParserType
| Modifier and Type | Field and Description |
|---|---|
static String |
SYNTAX
The command syntax.
|
| Constructor and Description |
|---|
SMFTV1BodySectionParserTriangles(Supplier<SMFHeader> in_header_get,
SMFTLineReaderType in_reader,
BitSet in_state)
Construct a parser.
|
| Modifier and Type | Method and Description |
|---|---|
String |
name() |
SMFTParsingStatus |
parse(SMFParserEventsBodyType receiver,
javaslang.collection.List<String> line_start)
Parse the section, delivering events to
receiver. |
public static final String SYNTAX
public SMFTV1BodySectionParserTriangles(Supplier<SMFHeader> in_header_get, SMFTLineReaderType in_reader, BitSet in_state)
in_header_get - A function that yields a headerin_reader - A line readerin_state - The current statepublic String name()
name in interface SMFTBodySectionParserTypepublic SMFTParsingStatus parse(SMFParserEventsBodyType receiver, javaslang.collection.List<String> line_start) throws IOException
SMFTBodySectionParserTypereceiver.parse in interface SMFTBodySectionParserTypereceiver - The event receiverline_start - The current lineIOException - On I/O errorsCopyright © 2017 <code@io7m.com> http://io7m.com