public static enum Vfs.DefaultUrlTypes extends Enum<Vfs.DefaultUrlTypes> implements Vfs.UrlType
Vfs.fromURL(java.net.URL)
jarFile - creates a ZipDir over jar file
jarUrl - creates a ZipDir over a jar url, using Java's JarURLConnection
directory - creates a SystemDir over a file system directory
jboss vfs - for protocols vfs, using jboss vfs (should be provided in classpath)
jboss vfsfile - creates a UrlTypeVFS for protocols vfszip and vfsfile.
bundle - for bundle protocol, using eclipse FileLocator (should be provided in classpath)
jarInputStream - creates a JarInputDir over jar files (contains ".jar!/" in it's name), using Java's JarInputStream
| Enum Constant and Description |
|---|
bundle |
directory |
jarFile |
jarInputStream |
jarUrl |
jboss_vfs |
jboss_vfsfile |
| Modifier and Type | Method and Description |
|---|---|
static Vfs.DefaultUrlTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Vfs.DefaultUrlTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcreateDir, matchespublic static final Vfs.DefaultUrlTypes jarFile
public static final Vfs.DefaultUrlTypes jarUrl
public static final Vfs.DefaultUrlTypes directory
public static final Vfs.DefaultUrlTypes jboss_vfs
public static final Vfs.DefaultUrlTypes jboss_vfsfile
public static final Vfs.DefaultUrlTypes bundle
public static final Vfs.DefaultUrlTypes jarInputStream
public static Vfs.DefaultUrlTypes[] values()
for (Vfs.DefaultUrlTypes c : Vfs.DefaultUrlTypes.values()) System.out.println(c);
public static Vfs.DefaultUrlTypes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.