Package com.adaptris.edi.parser
Class EdiParser
java.lang.Object
com.adaptris.edi.parser.EdiParser
- All Implemented Interfaces:
Parser
EDI Specific version of the Parser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPuts the last read Part of the file back on the StreaParser for rereadingreadPart(StreamParser sp) reads a section from an EDI message
-
Constructor Details
-
EdiParser
Creates a new instance of EdiParser- Parameters:
type- A type value which should correspond to the list of types inDataModelPart- Throws:
Exception- See Also:
-
-
Method Details
-
readPart
reads a section from an EDI message- Specified by:
readPartin interfaceParser- Parameters:
sp- StreamParser containing the EDI message- Returns:
- InputStream contaning the parsed section
- Throws:
ParserException
-
pushbackPart
Puts the last read Part of the file back on the StreaParser for rereading- Specified by:
pushbackPartin interfaceParser- Throws:
ParserException
-