@Test public void testFlat01Generate() throws Exception { generate("FLAT01"); check("Flat01Record"); }
public void generate(File cobolFile, String cobolFileEncoding, File targetFolder, String targetPackageName, final String xsltFileName) { try { Reader reader = cobolFileEncoding == null ? new InputStreamReader( new FileInputStream(cobolFile)) : new InputStreamReader( new FileInputStream(cobolFile), cobolFileEncoding); generate(reader, targetFolder, targetPackageName, xsltFileName); } catch (UnsupportedEncodingException e) { throw new Cob2JaxbGeneratorException(e); } catch (FileNotFoundException e) { throw new Cob2JaxbGeneratorException(e); } }
Cob2JaxbGenerator { public void generate(File cobolFile, String cobolFileEncoding, File targetFolder, String targetPackageName, final String xsltFileName) { try { Reader reader = cobolFileEncoding == null ? new InputStreamReader( new FileInputStream(cobolFile)) : new InputStreamReader( new FileInputStream(cobolFile), cobolFileEncoding); generate(reader, targetFolder, targetPackageName, xsltFileName); } catch (UnsupportedEncodingException e) { throw new Cob2JaxbGeneratorException(e); } catch (FileNotFoundException e) { throw new Cob2JaxbGeneratorException(e); } } }
Cob2JaxbGenerator { public void generate(File cobolFile, String cobolFileEncoding, File targetFolder, String targetPackageName, final String xsltFileName) { try { Reader reader = cobolFileEncoding == null ? new InputStreamReader( new FileInputStream(cobolFile)) : new InputStreamReader( new FileInputStream(cobolFile), cobolFileEncoding); generate(reader, targetFolder, targetPackageName, xsltFileName); } catch (UnsupportedEncodingException e) { throw new Cob2JaxbGeneratorException(e); } catch (FileNotFoundException e) { throw new Cob2JaxbGeneratorException(e); } } Cob2JaxbGenerator(Properties configProps); }
Cob2JaxbGenerator { public void generate(File cobolFile, String cobolFileEncoding, File targetFolder, String targetPackageName, final String xsltFileName) { try { Reader reader = cobolFileEncoding == null ? new InputStreamReader( new FileInputStream(cobolFile)) : new InputStreamReader( new FileInputStream(cobolFile), cobolFileEncoding); generate(reader, targetFolder, targetPackageName, xsltFileName); } catch (UnsupportedEncodingException e) { throw new Cob2JaxbGeneratorException(e); } catch (FileNotFoundException e) { throw new Cob2JaxbGeneratorException(e); } } Cob2JaxbGenerator(Properties configProps); void generate(File cobolFile, String cobolFileEncoding, File targetFolder,
            String targetPackageName,
            final String xsltFileName); void generate(Reader cobolReader,
            File targetFolder, String targetPackageName,
            final String xsltFileName); }
Cob2JaxbGenerator { public void generate(File cobolFile, String cobolFileEncoding, File targetFolder, String targetPackageName, final String xsltFileName) { try { Reader reader = cobolFileEncoding == null ? new InputStreamReader( new FileInputStream(cobolFile)) : new InputStreamReader( new FileInputStream(cobolFile), cobolFileEncoding); generate(reader, targetFolder, targetPackageName, xsltFileName); } catch (UnsupportedEncodingException e) { throw new Cob2JaxbGeneratorException(e); } catch (FileNotFoundException e) { throw new Cob2JaxbGeneratorException(e); } } Cob2JaxbGenerator(Properties configProps); void generate(File cobolFile, String cobolFileEncoding, File targetFolder,
            String targetPackageName,
            final String xsltFileName); void generate(Reader cobolReader,
            File targetFolder, String targetPackageName,
            final String xsltFileName);  }