|
||||||||||
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(String suffix)
Add a jar suffix |
static void |
clearSuffixes()
Clear the list of suffixes |
static URL |
createJarURL(URL url)
Create a jar url from a normal url |
static Set<String> |
getSuffixes()
Get the lis of jar suffixes |
static boolean |
isArchive(String name)
Whether this is an archive |
static boolean |
removeJarSuffix(String suffix)
Remove a jar suffix |
static void |
setJarSuffixes(Set<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(Set<String> suffixes)
suffixes
- the suffixes
IllegalArgumentException
- for a null suffixpublic static boolean addJarSuffix(String suffix)
suffix
- the suffix
IllegalArgumentException
- for a null suffixpublic static boolean removeJarSuffix(String suffix)
suffix
- the suffix
IllegalArgumentException
- for a null suffixpublic static Set<String> getSuffixes()
public static void clearSuffixes()
public static boolean isArchive(String name)
name
- the name
IllegalArgumentException
- for a null namepublic static URL createJarURL(URL url) throws MalformedURLException
url
- the normal url
MalformedURLException
- if the url is malformed
IllegalArgumentException
- for a null url
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |