public class Cob2CobolTypesGenerator extends Object
This is a 2 steps process:
| Constructor and Description |
|---|
Cob2CobolTypesGenerator(Properties configProps) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
generate(File cobolFile,
String cobolFileEncoding,
String targetPackageName,
String xsltFileName)
Given a COBOL copybook, produce a set of java classes (source code) used
to convert mainframe data (matching the copybook) at runtime.
|
Map<String,String> |
generate(Reader cobolReader,
String targetPackageName,
String xsltFileName)
Given a COBOL copybook, produce a set of java classes (source code) used
to convert mainframe data (matching the copybook) at runtime.
|
Map<String,String> |
generate(String cobolSource,
String targetPackageName,
String xsltFileName)
Given a COBOL copybook, produce a set of java classes (source code) used
to convert mainframe data (matching the copybook) at runtime.
|
public Cob2CobolTypesGenerator(Properties configProps)
public Map<String,String> generate(String cobolSource, String targetPackageName, String xsltFileName)
cobolSource - the COBOL copybook sourcetargetPackageName - the java package the generated classes should
reside inxsltFileName - an optional xslt to apply on the XML Schemapublic Map<String,String> generate(File cobolFile, String cobolFileEncoding, String targetPackageName, String xsltFileName)
cobolFile - the COBOL copybook filecobolFileEncoding - the COBOL copybook file character encodingtargetPackageName - the java package the generated classes should
reside inxsltFileName - an optional xslt to apply on the XML Schemapublic Map<String,String> generate(Reader cobolReader, String targetPackageName, String xsltFileName)
cobolReader - reads the COBOL copybook sourcetargetPackageName - the java package the generated classes should
reside inxsltFileName - an optional xslt to apply on the XML SchemaCopyright © 2021 LegSem. All rights reserved.