org.deltava.dao.file.innovata
Class CSVTokens

java.lang.Object
  extended by org.deltava.dao.file.innovata.CSVTokens
All Implemented Interfaces:
Comparable<CSVTokens>

 class CSVTokens
extends Object
implements Comparable<CSVTokens>

A utility class to parse CSV data.

Since:
1.0
Version:
2.7
Author:
Luke

Constructor Summary
CSVTokens(String entry, int line)
           
 
Method Summary
 int compareTo(CSVTokens t2)
           
 String get(int ofs)
           
 List<String> getAll()
           
 int getLineNumber()
           
 void set(int ofs, String value)
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSVTokens

CSVTokens(String entry,
          int line)
Method Detail

getLineNumber

public int getLineNumber()

get

public String get(int ofs)

set

public void set(int ofs,
                String value)

getAll

public List<String> getAll()

size

public int size()

compareTo

public int compareTo(CSVTokens t2)
Specified by:
compareTo in interface Comparable<CSVTokens>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.