public enum Heuristics extends Enum<Heuristics>
Enum Constant and Description |
---|
ALL
Use both jchardet and ICU4J.
|
CHARDET
Use jchardet only.
|
ICU
Use ICU4J only.
|
NONE
Perform no heuristic sniffing.
|
Modifier and Type | Method and Description |
---|---|
static Heuristics |
valueOf(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(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 © 2017. All rights reserved.