use of com.twinsoft.convertigo.engine.util.Copybook in project convertigo by convertigo.
the class CicsTransaction method importCopyBook.
public void importCopyBook(boolean isInput, Reader reader) throws EngineException {
try {
XMLVector<XMLVector<Object>> cblMap = null;
Copybook cpbk = new Copybook();
if (cpbk != null)
cblMap = cpbk.importFromFile2(reader);
if (cblMap != null) {
this.hasChanged = true;
if (isInput)
setInputMap(cblMap);
else
setOutputMap(cblMap);
}
} catch (IOException e) {
throw new EngineException(e.getMessage());
}
}
Aggregations