public enum Heuristics extends java.lang.Enum<Heuristics>
Enum Constant | Description |
---|---|
ALL |
Use both jchardet and ICU4J.
|
CHARDET |
Use jchardet only.
|
ICU |
Use ICU4J only.
|
NONE |
Perform no heuristic sniffing.
|
Modifier and Type | Method | Description |
---|---|---|
static Heuristics |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Heuristics[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Heuristics NONE
public static final Heuristics ALL
public static final Heuristics CHARDET
public static final Heuristics ICU
public static Heuristics[] values()
for (Heuristics c : Heuristics.values()) System.out.println(c);
public static Heuristics 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 null