net.sf.cpsolver.ifs.util
Class CSVFile.CSVField

java.lang.Object
  extended by net.sf.cpsolver.ifs.util.CSVFile.CSVField
All Implemented Interfaces:
Serializable
Enclosing class:
CSVFile

public static class CSVFile.CSVField
extends Object
implements Serializable

Representation of a field of a CSV file

See Also:
Serialized Form

Constructor Summary
CSVFile.CSVField(boolean field)
           
CSVFile.CSVField(double field)
           
CSVFile.CSVField(float field)
           
CSVFile.CSVField(int field)
           
CSVFile.CSVField(long field)
           
CSVFile.CSVField(Object field)
           
CSVFile.CSVField(String field, String quotationMark)
           
 
Method Summary
 boolean isEmpty()
           
 void set(boolean value)
           
 void set(double value)
           
 void set(float value)
           
 void set(int value)
           
 void set(long value)
           
 void set(Object value)
           
 boolean toBoolean()
           
 Date toDate()
           
 double toDouble()
           
 double toDouble(double defaultValue)
           
 int toInt()
           
 int toInt(int defaultValue)
           
 long toLong()
           
 long toLong(long defaultValue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSVFile.CSVField

public CSVFile.CSVField(String field,
                        String quotationMark)

CSVFile.CSVField

public CSVFile.CSVField(Object field)

CSVFile.CSVField

public CSVFile.CSVField(int field)

CSVFile.CSVField

public CSVFile.CSVField(boolean field)

CSVFile.CSVField

public CSVFile.CSVField(double field)

CSVFile.CSVField

public CSVFile.CSVField(long field)

CSVFile.CSVField

public CSVFile.CSVField(float field)
Method Detail

set

public void set(Object value)

set

public void set(int value)

set

public void set(boolean value)

set

public void set(double value)

set

public void set(long value)

set

public void set(float value)

toString

public String toString()
Overrides:
toString in class Object

isEmpty

public boolean isEmpty()

toInt

public int toInt()

toInt

public int toInt(int defaultValue)

toLong

public long toLong()

toLong

public long toLong(long defaultValue)

toDouble

public double toDouble()

toDouble

public double toDouble(double defaultValue)

toDate

public Date toDate()

toBoolean

public boolean toBoolean()