src/main/java/net/wasdev/wlp/common/plugins/util/InstallFeatureUtil.java
private static String extractVersion(String fileName) {
        int startIndex = INSTALL_MAP_PREFIX.length() + 1; // skip the underscore after the prefix
        int endIndex = fileName.lastIndexOf(INSTALL_MAP_SUFFIX);
        if (startIndex < endIndex) {
            return fileName.substring(startIndex, endIndex);
        } else {
            return null;
        }
    }
private static String extractVersion(String fileName) {
        int startIndex = INSTALL_MAP_PREFIX.length() + 1; // skip the underscore after the prefix
        int endIndex = fileName.lastIndexOf(INSTALL_MAP_SUFFIX);
        if (startIndex < endIndex) {
            return fileName.substring(startIndex, endIndex);
        } else {
            return null;
        }
    }
private static String extractVersion ( String fileName ) { int startIndex = INSTALL_MAP_PREFIX . length ( ) + 1 ; // skip the underscore after the prefix int endIndex = fileName . lastIndexOf ( INSTALL_MAP_SUFFIX ) ; if ( startIndex < endIndex ) { return fileName . substring ( startIndex , endIndex ) ; } else { return null ; } }
Returns the extracted version from fileName

@param fileName
@return the version extracted from fileName
Returns the extracted version from fileName