eu.esdihumboldt.hale.io.csv.reader.internal
Class CSVConfiguration
java.lang.Object
eu.esdihumboldt.hale.io.csv.reader.internal.CSVConfiguration
- All Implemented Interfaces:
- TypeConstraint, CSVConstants
@Immutable
public class CSVConfiguration
- extends Object
- implements TypeConstraint, CSVConstants
CSVConfiguration represented as TypeConstraints
- Author:
- Kevin Mais
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSVConfiguration
public CSVConfiguration()
- default constructor
CSVConfiguration
public CSVConfiguration(char sep,
char qu,
char esc,
boolean skip)
- constructor for CSVConfiguration
- Parameters:
sep
- the separating signqu
- the quote signesc
- the escape signskip
- the boolean to skip the first line or not
getSeparator
public char getSeparator()
- Returns:
- the separator
getQuote
public char getQuote()
- Returns:
- the quote
getEscape
public char getEscape()
- Returns:
- the escape
skipFirst
public boolean skipFirst()
- Returns:
- the skip_first_line
isInheritable
public boolean isInheritable()
- Description copied from interface:
TypeConstraint
- Determines if the constraint is inheritable, meaning it may be used for a
sub-type. A constraint may only be inherited if it is not overriden in
the sub-type.
- Specified by:
isInheritable
in interface TypeConstraint
- Returns:
- if the constraint is inheritable
- See Also:
TypeConstraint.isInheritable()
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d