This package holds the IOBuilder definitions. The IOBuilder's allow you easy access to JRecord's Functionality
1 2 ICobolIOBuilder ioBldr 3 = JRecordInterface1.COBOL 4 .newIOBuilder("CobolCopybook.cbl") 5 .setSplitCopybook(CopybookLoader.SPLIT_01_LEVEL) 6 .setDialect(ICopybookDialects.FMT_FUJITSU); 7 AbstractLineReader reader = ioBldr.newReader("input File Name"); 8 AbstractLine l; 9 10 while ((l = reader.read()) != null) { 11 ... 12 } 13 reader.close(); 14