protected boolean isCompressedFile(Path path) {
        return path != null && (path.toString().startsWith("jar:") || path.toString().toLowerCase().endsWith(".jar") || path.toString().toLowerCase().endsWith(".zip"));
    }
protected boolean isCompressedFile(Path path) {
        return path != null && (path.toString().startsWith("jar:") || path.toString().toLowerCase().endsWith(".jar") || path.toString().toLowerCase().endsWith(".zip"));
    }
protected boolean isCompressedFile ( Path path ) { return path != null && ( path . toString ( ) . startsWith ( "jar:" ) || path . toString ( ) . toLowerCase ( ) . endsWith ( ".jar" ) || path . toString ( ) . toLowerCase ( ) . endsWith ( ".zip" ) ) ; }
Returns true if the given path is a compressed file.
Returns true if the given path is a compressed file .