Java Implementation
The Java implementation of the design is composed of the source files listed below. We're not breaking any new ground in any of this code, so I won't add anything to the detailed design discussion presented in the previous sections.
FlatToXML.java: the main routine for the Java application with flat files as source
FlatSourceConverter.java (in package net.babelblaster.convert): the class that drives conversion from flat files to XML
FlatRecordReader.java (in package net.babelblaster.record): the class that handles reading flat file records and converting to XML
XMLToFlat.java: the main routine for the Java application with flat files as target
FlatTargetConverter.java (in package net.babelblaster.convert): the class that ...
Get Using XML with Legacy Business Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.