|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectariba.util.io.CSVReaderSelect
public class CSVReaderSelect
Read's a CSV file and based on command line arguments, only prints the columns requested. A sort of "select foo, bar from file". A utility class used by the build.
| Field Summary | |
|---|---|
static String |
ClassName
Our classname, for the usage message. |
| Method Summary | |
|---|---|
void |
consumeLineOfTokens(String path,
int lineNumber,
List line)
Called once per CSV line read. |
static void |
main(String[] args)
Make a CSVReaderSelect object so it can implement CSVConsumer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ClassName
| Method Detail |
|---|
public static void main(String[] args)
public void consumeLineOfTokens(String path,
int lineNumber,
List line)
consumeLineOfTokens in interface CSVConsumerpath - - the CSV source filelineNumber - - the current line being reported, 1-based.line - - a List of tokens parsed from a one line in the file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||