Class CopyBookParser
java.lang.Object
org.eclipse.persistence.internal.eis.cobol.CopyBookParser
Purpose: This class is a parser for Cobol Copy books. It will take a stream as
an argument in its constructor and parse the stream when parse()
is called.
The parse()
method returns a Vector
of RecordMetaData
one for each "01" level record description in the stream.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(InputStream stream) This method is the primary public api for this class, it takes anInputStream
as an argument then parses this stream looking for "01" level record entries.
-
Constructor Details
-
CopyBookParser
public CopyBookParser()Default constructor
-
-
Method Details
-
parse
This method is the primary public api for this class, it takes anInputStream
as an argument then parses this stream looking for "01" level record entries. It returns aVector
containingRecordMetaData
for each "01" record defintion encountered in the stream.- Throws:
Exception
-