-
Enum Constant Summary
Enum ConstantDescriptionThe comment line.The comment line finished.The escaping.The finished.The first char inside quoted field.The inside field.The inside quoted field.The line finished.The outside after field.The outside before field.The separator.The skip line.The skip line finished.The start of line. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isIgnore()
Checks if is ignore.boolean
Checks if is line finished.boolean
Checks if is pop token.boolean
Checks if is tokenize.boolean
Checks if is upgrade quote to escape.boolean
trim()
Trim.static ParseState
Returns the enum constant of this type with the specified name.static ParseState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SKIP_LINE
The skip line. -
SKIP_LINE_FINISHED
The skip line finished. -
COMMENT_LINE
The comment line. -
COMMENT_LINE_FINISHED
The comment line finished. -
START_OF_LINE
The start of line. -
OUTSIDE_BEFORE_FIELD
The outside before field. -
OUTSIDE_AFTER_FIELD
The outside after field. -
INSIDE_FIELD
The inside field. -
FIRST_CHAR_INSIDE_QUOTED_FIELD
The first char inside quoted field. -
INSIDE_QUOTED_FIELD
The inside quoted field. -
ESCAPING
The escaping. -
SEPARATOR
The separator. -
LINE_FINISHED
The line finished. -
FINISHED
The finished.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
isTokenize
public boolean isTokenize()Checks if is tokenize.- Returns:
- true, if is tokenize
-
isLineFinished
public boolean isLineFinished()Checks if is line finished.- Returns:
- true, if is line finished
-
isPopToken
public boolean isPopToken()Checks if is pop token.- Returns:
- true, if is pop token
-
isUpgradeQuoteToEscape
public boolean isUpgradeQuoteToEscape()Checks if is upgrade quote to escape.- Returns:
- true, if is upgrade quote to escape
-
isIgnore
public boolean isIgnore()Checks if is ignore.- Returns:
- true, if is ignore
-
trim
public boolean trim()Trim.- Returns:
- true, if successful
-