public enum URIxScheme extends java.lang.Enum<URIxScheme>
Enum Constant and Description |
---|
BZ2 |
FILE |
FTP |
GZ |
HTTP |
HTTPS |
JAR |
SFTP |
TAR |
TBZ2 |
TGZ |
ZIP |
Modifier and Type | Field and Description |
---|---|
static int |
OTHER_TYPE |
static int |
ZIP_TYPE |
Modifier and Type | Method and Description |
---|---|
static URIxScheme |
getScheme(java.lang.String str) |
boolean |
isZipType() |
java.lang.String |
toString() |
static URIxScheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static URIxScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final URIxScheme GZ
public static final URIxScheme BZ2
public static final URIxScheme ZIP
public static final URIxScheme JAR
public static final URIxScheme TAR
public static final URIxScheme TGZ
public static final URIxScheme TBZ2
public static final URIxScheme FILE
public static final URIxScheme HTTP
public static final URIxScheme HTTPS
public static final URIxScheme FTP
public static final URIxScheme SFTP
public static URIxScheme[] values()
for (URIxScheme c : URIxScheme.values()) System.out.println(c);
public static URIxScheme valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isZipType()
public java.lang.String toString()
toString
in class java.lang.Enum<URIxScheme>
public static URIxScheme getScheme(java.lang.String str)