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

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

public class CSVFile.CSVLine
extends Object
implements Serializable

Representation of a line of a CSV file

See Also:
Serialized Form

Constructor Summary
CSVFile.CSVLine()
           
CSVFile.CSVLine(Collection fields)
           
CSVFile.CSVLine(CSVFile.CSVField[] fields)
           
CSVFile.CSVLine(String line)
           
 
Method Summary
 void debug(int offset, PrintWriter out)
           
 Enumeration fields()
           
 CSVFile.CSVField getField(int idx)
           
 CSVFile.CSVField getField(String name)
           
 Vector getFields()
           
 boolean isEmpty()
           
 void setField(int idx, CSVFile.CSVField field)
           
 void setField(String name, CSVFile.CSVField field)
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSVFile.CSVLine

public CSVFile.CSVLine(String line)

CSVFile.CSVLine

public CSVFile.CSVLine()

CSVFile.CSVLine

public CSVFile.CSVLine(CSVFile.CSVField[] fields)

CSVFile.CSVLine

public CSVFile.CSVLine(Collection fields)
Method Detail

getFields

public Vector getFields()

size

public int size()

isEmpty

public boolean isEmpty()

getField

public CSVFile.CSVField getField(int idx)

setField

public void setField(int idx,
                     CSVFile.CSVField field)

fields

public Enumeration fields()

getField

public CSVFile.CSVField getField(String name)

setField

public void setField(String name,
                     CSVFile.CSVField field)

toString

public String toString()
Overrides:
toString in class Object

debug

public void debug(int offset,
                  PrintWriter out)