net.sourceforge.pavlov.zipUtilities
Class JarUtilities

java.lang.Object
  extended by net.sourceforge.pavlov.zipUtilities.JarUtilities

public class JarUtilities
extends Object


Constructor Summary
JarUtilities()
           
 
Method Summary
static String getJarFileName(String jarURL)
           
static boolean isAJar(File g)
          Return true if it looks like a JAR file.
static boolean isInAJar(File f)
           
static boolean isInAJar(URL url)
           
static URL makeJarURL(String jarFile, String entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarUtilities

public JarUtilities()
Method Detail

isAJar

public static boolean isAJar(File g)
Return true if it looks like a JAR file.


isInAJar

public static boolean isInAJar(File f)

isInAJar

public static boolean isInAJar(URL url)

makeJarURL

public static URL makeJarURL(String jarFile,
                             String entry)
                      throws MalformedURLException
Throws:
MalformedURLException

getJarFileName

public static String getJarFileName(String jarURL)