public static enum UrlUtil.URLProtocol extends Enum<UrlUtil.URLProtocol>
| Enum Constant and Description |
|---|
cid
mime
|
file
file
|
ftp
ftp
|
http
http or https
|
| Modifier and Type | Method and Description |
|---|---|
static UrlUtil.URLProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrlUtil.URLProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlUtil.URLProtocol cid
public static final UrlUtil.URLProtocol http
public static final UrlUtil.URLProtocol file
public static final UrlUtil.URLProtocol ftp
public static UrlUtil.URLProtocol[] values()
for (UrlUtil.URLProtocol c : UrlUtil.URLProtocol.values()) System.out.println(c);
public static UrlUtil.URLProtocol 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 © 2015. All rights reserved.