public enum DelimiterType extends java.lang.Enum<DelimiterType>
Enum Constant and Description |
---|
CARRIAGE_RETURN_LINE_FEED
Carriage return and line feed (CRLF) record delimiter.
|
COMMA
Comma field delimiter.
|
HORIZONTAL_TAB
Horizontal tab field delimiter.
|
LINE_FEED
Line feed (LF) record delimiter.
|
SEMICOLON
Semicolon field delimiter.
|
VERTICAL_BAR
Vertical tab field delimiter.
|
Modifier and Type | Method and Description |
---|---|
static DelimiterType |
getDelimiterType(java.lang.String xmlType)
Gets the proper delimiter type for an XML type string in a label instance.
|
char |
getFieldDelimiter()
Gets the character value for this (field) delimiter type.
|
java.lang.String |
getRecordDelimiter()
Gets the string value for this (record) delimiter type.
|
java.lang.String |
getXmlType()
Gets the type string that will occur in XML labels.
|
static DelimiterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DelimiterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DelimiterType COMMA
public static final DelimiterType SEMICOLON
public static final DelimiterType HORIZONTAL_TAB
public static final DelimiterType VERTICAL_BAR
public static final DelimiterType CARRIAGE_RETURN_LINE_FEED
public static final DelimiterType LINE_FEED
public static DelimiterType[] values()
for (DelimiterType c : DelimiterType.values()) System.out.println(c);
public static DelimiterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DelimiterType getDelimiterType(java.lang.String xmlType)
xmlType
- the XML type stringpublic java.lang.String getXmlType()
public char getFieldDelimiter()
public java.lang.String getRecordDelimiter()
Copyright © 2023 Planetary Data System. All rights reserved.