Package ipsk.text
Enum TableTextFormats.Profile
- java.lang.Object
-
- java.lang.Enum<TableTextFormats.Profile>
-
- ipsk.text.TableTextFormats.Profile
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TableTextFormats.Profile>
- Enclosing class:
- TableTextFormats
public static enum TableTextFormats.Profile extends java.lang.Enum<TableTextFormats.Profile>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASCII_UNICODE
CSV
TAB_SEP_UNIX
TAB_SEP_WIN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TableTextFormats.UnitSeparator
getFieldSeparator()
TableTextFormats.GroupSeparator
getGroupSeparator()
TableTextFormats.RecordSeparator
getRecordSeparator()
java.lang.String
toString()
static TableTextFormats.Profile
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TableTextFormats.Profile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASCII_UNICODE
public static final TableTextFormats.Profile ASCII_UNICODE
-
TAB_SEP_WIN
public static final TableTextFormats.Profile TAB_SEP_WIN
-
TAB_SEP_UNIX
public static final TableTextFormats.Profile TAB_SEP_UNIX
-
CSV
public static final TableTextFormats.Profile CSV
-
-
Method Detail
-
values
public static TableTextFormats.Profile[] 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 (TableTextFormats.Profile c : TableTextFormats.Profile.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableTextFormats.Profile 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<TableTextFormats.Profile>
-
getFieldSeparator
public TableTextFormats.UnitSeparator getFieldSeparator()
-
getRecordSeparator
public TableTextFormats.RecordSeparator getRecordSeparator()
-
getGroupSeparator
public TableTextFormats.GroupSeparator getGroupSeparator()
-
-