com.sforce.async
Class CSVReader

java.lang.Object
  extended by com.sforce.async.CSVReader

public class CSVReader
extends Object

Parse a CSV file into lines of fields.


Nested Class Summary
static class CSVReader.CSVParseException
           
 
Constructor Summary
CSVReader(BufferedReader input)
           
CSVReader(BufferedReader input, char customizedSeparator)
           
CSVReader(InputStream input)
           
CSVReader(InputStream input, String enc)
           
CSVReader(InputStream input, String enc, char customizedSeparator)
           
CSVReader(Reader input)
           
CSVReader(Reader input, char customizedSeparator)
           
 
Method Summary
 int getMaxRowsInFile()
           
 ArrayList<String> nextRecord()
           
 void setMaxCharsInFile(int newMax)
           
 void setMaxRowsInFile(int newMax)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVReader

public CSVReader(Reader input)

CSVReader

public CSVReader(Reader input,
                 char customizedSeparator)

CSVReader

public CSVReader(InputStream input)

CSVReader

public CSVReader(InputStream input,
                 String enc)
          throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

CSVReader

public CSVReader(InputStream input,
                 String enc,
                 char customizedSeparator)
          throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

CSVReader

public CSVReader(BufferedReader input)

CSVReader

public CSVReader(BufferedReader input,
                 char customizedSeparator)
Method Detail

nextRecord

public ArrayList<String> nextRecord()
                             throws IOException
Throws:
IOException

getMaxRowsInFile

public int getMaxRowsInFile()

setMaxRowsInFile

public void setMaxRowsInFile(int newMax)

setMaxCharsInFile

public void setMaxCharsInFile(int newMax)


Copyright © 2013. All Rights Reserved.