protected boolean isRarFile ( URL url ) { if ( url != null && url . toExternalForm ( ) . endsWith ( ".rar" ) && ! url . toExternalForm ( ) . startsWith ( "jar" ) ) return true ; return false ; }
Does the URL represent a . rar file