code: protected void translate(final File cobolFile,
              final String cobolFileEncoding, final File target,
              final String targetNamespacePrefix,
              final String xsltFileName) throws XsdGenerationException {
          try {
              Cob2XsdIO cob2XsdIO = new Cob2XsdIO(getConfig());
              cob2XsdIO.translate(cobolFile, cobolFileEncoding, target,
                      targetNamespacePrefix, xsltFileName);
          } catch (RecognizerException e) {
              throw new XsdGenerationException(e);
          }
      }
docs: Translates a single COBOL source file.
  
  @param cobolFile COBOL source file
  @param cobolFileEncoding the COBOL file character encoding
  @param target target file or folder
  @param targetNamespacePrefix the output XML schemas target namespace
  prefix
  @param xsltFileName an optional xslt to apply on the XML Schema
  @throws XsdGenerationException if parser fails