public static enum Blacklist.BlacklistType extends java.lang.Enum<Blacklist.BlacklistType>
Enum Constant and Description |
---|
CRAWLER |
DHT |
NEWS |
PROXY |
SEARCH |
SURFTIPS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Blacklist.BlacklistType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Blacklist.BlacklistType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Blacklist.BlacklistType DHT
public static final Blacklist.BlacklistType CRAWLER
public static final Blacklist.BlacklistType PROXY
public static final Blacklist.BlacklistType SEARCH
public static final Blacklist.BlacklistType SURFTIPS
public static final Blacklist.BlacklistType NEWS
public static Blacklist.BlacklistType[] values()
for (Blacklist.BlacklistType c : Blacklist.BlacklistType.values()) System.out.println(c);
public static Blacklist.BlacklistType 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 final java.lang.String toString()
toString
in class java.lang.Enum<Blacklist.BlacklistType>