mil.dod.th.ose.jaxb.proto.converter/src/mil/dod/th/ose/jaxbprotoconverter/JaxbClassParser.java
private String buildImportStatement(final File importFile)
    {
        final Path fileDirPath = importFile.toPath();
        final Path baseDirPath = m_XsdFilesDir.toPath();
        final Path relativePath = baseDirPath.relativize(fileDirPath);
        
        final String replacedSeparator = relativePath.toString().replace(File.separator, "/");
        final String importStatement = replacedSeparator.replace(".xsd", ".proto");
        return importStatement;
    }
/**
     * Method that builds an import statement for the specified XSD file.
     * 
     * @param importFile
     *      File that represents the XSD file to be imported.
     * @return
     *      String that represents the import statement.
     */
Method that builds an import statement for the specified XSD file.

@param importFile
File that represents the XSD file to be imported.
@return
String that represents the import statement.
Method that builds an import statement for the specified XSD file . @param importFile File that represents the XSD file to be imported . @return String that represents the import statement .
private String buildImportStatement(final File importFile)
    {
        final Path fileDirPath = importFile.toPath();
        final Path baseDirPath = m_XsdFilesDir.toPath();
        final Path relativePath = baseDirPath.relativize(fileDirPath);
        final String replacedSeparator = relativePath.toString().replace(File.separator, "/");
        final String importStatement = replacedSeparator.replace(".xsd", ".proto");
        return importStatement;
    }
private String buildImportStatement ( final File importFile ) { final Path fileDirPath = importFile . toPath ( ) ; final Path baseDirPath = m_XsdFilesDir . toPath ( ) ; final Path relativePath = baseDirPath . relativize ( fileDirPath ) ; final String replacedSeparator = relativePath . toString ( ) . replace ( File . separator , "/" ) ; final String importStatement = replacedSeparator . replace ( ".xsd" , ".proto" ) ; return importStatement ; }
Method that builds an import statement for the specified XSD file.
Method that builds an import statement for the specified XSD file .