|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.crocus.examples.csv.AbstractCSVFieldReader
public abstract class AbstractCSVFieldReader
Title:
Description:
Copyright:
Company:
| Field Summary | |
|---|---|
protected char[] |
charLine
Holds the current line in the Buffer |
protected int |
counter
Holds the count of character on the currentLine |
| Constructor Summary | |
|---|---|
AbstractCSVFieldReader(char[] charLine)
|
|
AbstractCSVFieldReader(char[] charLine,
char deliminator)
|
|
| Method Summary | |
|---|---|
abstract CSVRecord |
execute()
Execution Logic |
char |
getDeliminator()
|
protected abstract String |
getField()
Extracts a Field from the currentLine as a String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected char[] charLine
protected int counter
| Constructor Detail |
|---|
public AbstractCSVFieldReader(char[] charLine)
charLine - char[]
public AbstractCSVFieldReader(char[] charLine,
char deliminator)
charLine - char[]deliminator - char| Method Detail |
|---|
public abstract CSVRecord execute()
protected abstract String getField()
public char getDeliminator()
|
Crocus - The First Flower of Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||