Package org.ojalgo.netio
Enum EnumeratedColumnsParser.ParseStrategy
- java.lang.Object
-
- java.lang.Enum<EnumeratedColumnsParser.ParseStrategy>
-
- org.ojalgo.netio.EnumeratedColumnsParser.ParseStrategy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EnumeratedColumnsParser.ParseStrategy>
- Enclosing class:
- EnumeratedColumnsParser
public static enum EnumeratedColumnsParser.ParseStrategy extends java.lang.Enum<EnumeratedColumnsParser.ParseStrategy>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ParseStrategy()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract EnumeratedColumnsParser.LineView
make(int numberOfColumns, char delimiter)
static EnumeratedColumnsParser.ParseStrategy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EnumeratedColumnsParser.ParseStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAST
public static final EnumeratedColumnsParser.ParseStrategy FAST
Simplest possible. Just delimited data. No quoting or any special characters...
-
QUOTED
public static final EnumeratedColumnsParser.ParseStrategy QUOTED
Same asFAST
but assumes values are quoted (they have to be, ALL of them).
-
RFC4180
public static final EnumeratedColumnsParser.ParseStrategy RFC4180
As specified by the RFC4180 standard.
-
-
Method Detail
-
values
public static EnumeratedColumnsParser.ParseStrategy[] 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 (EnumeratedColumnsParser.ParseStrategy c : EnumeratedColumnsParser.ParseStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnumeratedColumnsParser.ParseStrategy valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
make
public abstract EnumeratedColumnsParser.LineView make(int numberOfColumns, char delimiter)
-
-