public static class CSVReader.Header extends Object
Modifier and Type | Field and Description |
---|---|
protected static Format[] |
formats
An array of formats to be tested against the column values.
|
Constructor and Description |
---|
CSVReader.Header(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Equal if the headers have the same data.
|
String |
getName() |
int |
hashCode()
Based on the header name.
|
Object |
parseValue(String text)
Attempts to interpret the character data as a date/time,
currency, percentage, floating point value, or integer.
|
String |
toString() |
protected static final Format[] formats
Note that formats DO NOT require a complete match on the source test. For this reason, they are arranged based on the expected ability for the format to be diagnositic. For example, a date such as 4/6/2002 would be interpreted as an integer if you tested the integer format first.
public CSVReader.Header(String name)
public String getName()
public Object parseValue(String text)
text
- The character data.public boolean equals(Object o)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.