|
|||||||||
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 java.lang.String |
ClassName
Our classname, for the usage message. |
Method Summary | |
---|---|
void |
consumeLineOfTokens(java.lang.String path,
int lineNumber,
java.util.List line)
Called once per CSV line read. |
static void |
main(java.lang.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 java.lang.String ClassName
Method Detail |
---|
public static void main(java.lang.String[] args)
public void consumeLineOfTokens(java.lang.String path, int lineNumber, java.util.List line)
consumeLineOfTokens
in interface CSVConsumer
path
- - 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 |