Skip to content

Java library for parsing and creating ASC X12 EDI transactions

Notifications You must be signed in to change notification settings

hzbarcea/x12-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

X12 Parser 
Current Version : V1.1

CHANGES
-------------------------------------------------------------------------------
V1.1
Forked on github, use git as scm.
Backward compatible with v1.0.

V1.0
Handle special characters that can be used as segment separators.
Add removeElement(int index) added to Segment class.
Add removeSegment(int index) added to X12Simple class.
Add removeSegment(int index) added to Loop class.
Add removeLoop(int index) added to Loop class.
Add toString(boolean bRemoveTrailingEmptyElements) added to Segment class.
Add toString(boolean bRemoveTrailingEmptyElements) added to X12Simple class.
Add toString(boolean bRemoveTrailingEmptyElements) added to Loop class.
Add toXML(boolean bRemoveTrailingEmptyElements) added to Segment class.
Add toXML(boolean bRemoveTrailingEmptyElements) added to X12Simple class.
Add toXML(boolean bRemoveTrailingEmptyElements) added to Loop class.
Replace StringBuffer with StringBuilder.
Add pom.xml for those who want to build with maven.

V0.9
Fixed problem with X12Parser. Loop detection logic was not working correctly.
Backward compatible with versions V0.7 and V0.8.
Recommended upgrade for users of V0.7 and V0.8

V0.8
Fixed parsing problem in X12SimpleParser and X12Parser with parse(File file).
When reading ISA segment was being read twice.
Fixed issue with parse(InputStream in) method, that was causing blank spaces
being padded at the end of IEA segment.

V0.7
Not compatible with the previous versions.
Earlier class X12 is now X12Simple. Provides the same features as earlier.
Added class Loop and class X12. They represent the X12 in a loop
hierarchy.
Parser is now an Interface. There are two types of Parsers, an X12SimpleParser
and X12Parser. They return objects of type X12Simple and X12 respectively.
New class Cf has configuration information of how to identify X12 loops.
It is used in combination with the X12Parser.
New examples have been added.

V0.6
Second version

V0.5
Initial verision

About

Java library for parsing and creating ASC X12 EDI transactions

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages