|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.virtual.plugins.context.jar.JarUtils
public class JarUtils
JarUtils.
Method Summary | |
---|---|
static boolean |
addJarSuffix(java.lang.String suffix)
Add a jar suffix |
static void |
clearSuffixes()
Clear the list of suffixes |
static java.net.URL |
createJarURL(java.net.URL url)
Create a jar url from a normal url |
static java.util.Set<java.lang.String> |
getSuffixes()
Get the lis of jar suffixes |
static boolean |
isArchive(java.lang.String name)
Whether this is an archive |
static boolean |
removeJarSuffix(java.lang.String suffix)
Remove a jar suffix |
static void |
setJarSuffixes(java.util.Set<java.lang.String> suffixes)
Sets the jar suffixes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setJarSuffixes(java.util.Set<java.lang.String> suffixes)
suffixes
- the suffixes
java.lang.IllegalArgumentException
- for a null suffixpublic static boolean addJarSuffix(java.lang.String suffix)
suffix
- the suffix
java.lang.IllegalArgumentException
- for a null suffixpublic static boolean removeJarSuffix(java.lang.String suffix)
suffix
- the suffix
java.lang.IllegalArgumentException
- for a null suffixpublic static java.util.Set<java.lang.String> getSuffixes()
public static void clearSuffixes()
public static boolean isArchive(java.lang.String name)
name
- the name
java.lang.IllegalArgumentException
- for a null namepublic static java.net.URL createJarURL(java.net.URL url) throws java.net.MalformedURLException
url
- the normal url
java.net.MalformedURLException
- if the url is malformed
java.lang.IllegalArgumentException
- for a null url
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |