Enum WhitespaceCorrector.Whitespace
- java.lang.Object
-
- java.lang.Enum<WhitespaceCorrector.Whitespace>
-
- net.sf.okapi.steps.whitespacecorrection.WhitespaceCorrector.Whitespace
-
- All Implemented Interfaces:
Serializable,Comparable<WhitespaceCorrector.Whitespace>
- Enclosing class:
- WhitespaceCorrector
public static enum WhitespaceCorrector.Whitespace extends Enum<WhitespaceCorrector.Whitespace>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description chargetWhitespace()static WhitespaceCorrector.WhitespacevalueOf(String name)Returns the enum constant of this type with the specified name.static WhitespaceCorrector.Whitespace[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINE_FEED
public static final WhitespaceCorrector.Whitespace LINE_FEED
-
LINE_TABULATION
public static final WhitespaceCorrector.Whitespace LINE_TABULATION
-
FORM_FEED
public static final WhitespaceCorrector.Whitespace FORM_FEED
-
CARRIAGE_RETURN
public static final WhitespaceCorrector.Whitespace CARRIAGE_RETURN
-
NEXT_LINE
public static final WhitespaceCorrector.Whitespace NEXT_LINE
-
LINE_SEPARATOR
public static final WhitespaceCorrector.Whitespace LINE_SEPARATOR
-
PARAGRAPH_SEPARATOR
public static final WhitespaceCorrector.Whitespace PARAGRAPH_SEPARATOR
-
CHARACTER_TABULATION
public static final WhitespaceCorrector.Whitespace CHARACTER_TABULATION
-
SPACE
public static final WhitespaceCorrector.Whitespace SPACE
-
NO_BREAK_SPACE
public static final WhitespaceCorrector.Whitespace NO_BREAK_SPACE
-
EN_QUAD
public static final WhitespaceCorrector.Whitespace EN_QUAD
-
EM_QUAD
public static final WhitespaceCorrector.Whitespace EM_QUAD
-
EN_SPACE
public static final WhitespaceCorrector.Whitespace EN_SPACE
-
EM_SPACE
public static final WhitespaceCorrector.Whitespace EM_SPACE
-
THREE_PER_EM_SPACE
public static final WhitespaceCorrector.Whitespace THREE_PER_EM_SPACE
-
FOUR_PER_EM_SPACER
public static final WhitespaceCorrector.Whitespace FOUR_PER_EM_SPACER
-
SIX_PER_EM_SPACE
public static final WhitespaceCorrector.Whitespace SIX_PER_EM_SPACE
-
FIGURE_SPACE
public static final WhitespaceCorrector.Whitespace FIGURE_SPACE
-
PUNCUATION_SPACE
public static final WhitespaceCorrector.Whitespace PUNCUATION_SPACE
-
THIS_SPACE
public static final WhitespaceCorrector.Whitespace THIS_SPACE
-
HAIR_SPACE
public static final WhitespaceCorrector.Whitespace HAIR_SPACE
-
NAORROW_NO_BREAK_SPACE
public static final WhitespaceCorrector.Whitespace NAORROW_NO_BREAK_SPACE
-
MEDIUM_MATHEMATICAL_SPACE
public static final WhitespaceCorrector.Whitespace MEDIUM_MATHEMATICAL_SPACE
-
IDEOGRAPHIC_SPACE
public static final WhitespaceCorrector.Whitespace IDEOGRAPHIC_SPACE
-
ZERO_WIDTH_SPACE
public static final WhitespaceCorrector.Whitespace ZERO_WIDTH_SPACE
-
ZERO_WIDTH_NON_BREAKING_SPACE
public static final WhitespaceCorrector.Whitespace ZERO_WIDTH_NON_BREAKING_SPACE
-
-
Method Detail
-
values
public static WhitespaceCorrector.Whitespace[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WhitespaceCorrector.Whitespace c : WhitespaceCorrector.Whitespace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WhitespaceCorrector.Whitespace valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getWhitespace
public char getWhitespace()
-
-