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 (contains ".jar!/" in it's name)
directory - creates a SystemDir over a file system directory
| Enum Constant and Description |
|---|
bundle |
commons_vfs2 |
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 commons_vfs2
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 © 2014. All rights reserved.