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
vfsfile and vfszip - creates a ZipDir
over jboss vfs types
Enum Constant and Description |
---|
directory |
jarfile |
jarUrl |
vfsfile |
vfszip |
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, valueOf
createDir, matches
public static final Vfs.DefaultUrlTypes jarfile
public static final Vfs.DefaultUrlTypes jarUrl
public static final Vfs.DefaultUrlTypes directory
public static final Vfs.DefaultUrlTypes vfsfile
public static final Vfs.DefaultUrlTypes vfszip
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 © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.