This package holds classes that convert Record-Layouts (copybooks) between external Files and the internal representation. It holds conversion routines, Generalised Record-Layout and code to read, write and convert copybooks between various formats.

The most important Class's are:

There are several ways to load a RecordLayout

Loading an RecordEditor-XML:
         LayoutDetail layout = CopybookLoaderFactory.getInstance().getLayoutRecordEditXml(copybookName, null);

Using the Loader Factory CopybookLoaderFactory:
         CopybookLoader loader = CopybookLoaderFactory.getInstance()
                 .getLoader(CopybookLoaderFactory.RECORD_EDITOR_XML_LOADER);
         LayoutDetail layout = loader.loadCopyBook(copybookName, 0, 0, "", 0, 0, null).asLayoutDetail();

Creating the loader:
         CopybookLoader loader = new RecordEditorXmlLoader();
         LayoutDetail layout = loader.loadCopyBook(copybookName, 0, 0, "", 0, 0, null).asLayoutDetail();