Package com.io7m.smfj.format.text.v1
Class SMFTV1Parser
- java.lang.Object
-
- com.io7m.smfj.format.text.v1.SMFTV1Parser
-
- All Implemented Interfaces:
SMFParserSequentialType,SMFParserType,java.io.Closeable,java.lang.AutoCloseable
public final class SMFTV1Parser extends java.lang.Object implements SMFParserSequentialType
A parser for the 1.* format.
-
-
Constructor Summary
Constructors Constructor Description SMFTV1Parser(SMFFormatVersion in_version, java.util.BitSet in_state, SMFParserEventsType in_events, SMFTLineReaderType in_reader)Construct a parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidparse()Begin parsing.
-
-
-
Constructor Detail
-
SMFTV1Parser
public SMFTV1Parser(SMFFormatVersion in_version, java.util.BitSet in_state, SMFParserEventsType in_events, SMFTLineReaderType in_reader)
Construct a parser.- Parameters:
in_version- The format versionin_state- Parser statein_events- An event receiverin_reader- A line reader
-
-
Method Detail
-
parse
public void parse()
Description copied from interface:SMFParserSequentialTypeBegin parsing.- Specified by:
parsein interfaceSMFParserSequentialType
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-