|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RowBeanProcessor.CSVPropertyType>
olg.csv.bean.annotations.processor.RowBeanProcessor.CSVPropertyType
private static enum RowBeanProcessor.CSVPropertyType
CSV Property list.
Enum Constant Summary | |
---|---|
CHARSETNAME
|
|
DELIMITER
|
|
HEADERS
|
|
LINE_SEPARATOR
|
|
SEPARATOR
|
Field Summary | |
---|---|
private String |
code
param name. |
private AbstractParser<?> |
parser
param value parser. |
private String |
property
Property this option sets. |
private Method |
setter
Method to set property. |
Method Summary | |
---|---|
static RowBeanProcessor.CSVPropertyType |
getByCode(String code)
Identify a property by its code. |
CSVSettings |
setParam(CSVSettings settings,
String value)
Set the CVSSettings. |
static RowBeanProcessor.CSVPropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RowBeanProcessor.CSVPropertyType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RowBeanProcessor.CSVPropertyType HEADERS
public static final RowBeanProcessor.CSVPropertyType SEPARATOR
public static final RowBeanProcessor.CSVPropertyType DELIMITER
public static final RowBeanProcessor.CSVPropertyType CHARSETNAME
public static final RowBeanProcessor.CSVPropertyType LINE_SEPARATOR
Field Detail |
---|
private String code
private AbstractParser<?> parser
private Method setter
private String property
Method Detail |
---|
public static RowBeanProcessor.CSVPropertyType[] values()
for (RowBeanProcessor.CSVPropertyType c : RowBeanProcessor.CSVPropertyType.values()) System.out.println(c);
public static RowBeanProcessor.CSVPropertyType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static RowBeanProcessor.CSVPropertyType getByCode(String code)
code
- the code
public CSVSettings setParam(CSVSettings settings, String value) throws AnnotationProcessorException
settings
- the settings to set.value
- the value.
AnnotationProcessorException
- on setting the value to the property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |