|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.americancoders.edi.x12.Parser
class to parse input string for all defined ediObjects Transaction Sets
x12 dependent
Constructor Summary | |
Parser(java.io.File inFile)
builds a transaction set by reading a file |
|
Parser(java.lang.String inString)
create a transaction set from input string |
|
Parser(TransactionSet inTransactionSet)
builds a parser from an existing transactionSet object |
|
Parser(java.net.URL inURL,
java.lang.String text)
builds a transaction set by reading a file from a url |
Method Summary | |
Segment |
getFunctional_Group_Header()
returns the parsed Functional Group Header |
Segment |
getFunctional_Group_Trailer()
returns the parsed Functional Group Trailer |
Segment |
getInterchange_Control_Header()
returns the parsed Interchange Control Header |
Segment |
getInterchange_Control_Trailer()
returns the parsed Interchange Trailer Header |
TransactionSet |
getNextTransactionSet()
returns the next transaction set that was parsed |
TransactionSet |
getTransactionSet()
returns the transaction set that was parsed |
TransactionSet |
getTransactionSet(int pos)
returns the transaction set at a specified postion |
int |
getTransactionSetCount()
returns the number of transaction sets that were parsed |
void |
ParseString(java.lang.String inString)
builds a transaction set from input string |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Parser(java.lang.String inString) throws java.lang.Exception
String
- the edi documentpublic Parser(java.io.File inFile) throws java.lang.Exception
File
- the filename containing the edi documentpublic Parser(java.net.URL inURL, java.lang.String text) throws java.lang.Exception
URL
- the URL containing the edi documentString
- input textpublic Parser(TransactionSet inTransactionSet) throws java.lang.Exception
TransactionSet
- the filename containing the edi documentMethod Detail |
public void ParseString(java.lang.String inString) throws java.lang.Exception
String
- the edi documentpublic TransactionSet getTransactionSet()
public TransactionSet getTransactionSet(int pos) throws java.lang.Exception
int
- - position of transaction set
& @exception - vector out of bounds exception most likely will occurpublic TransactionSet getNextTransactionSet() throws java.lang.Exception
public int getTransactionSetCount()
public Segment getInterchange_Control_Header()
public Segment getFunctional_Group_Header()
public Segment getFunctional_Group_Trailer()
public Segment getInterchange_Control_Trailer()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |