|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.jidesoft.csv.CsvParseEvent
public class CsvParseEvent
An event generated when a token or a line is recognised in the input stream or file.
This class now supports storing of the line of tokens with the setTokens()
method.
Nested Class Summary | |
---|---|
static class |
CsvParseEvent.EventType
Indicates whether the event signifies a token or a line |
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
CsvParseEvent(Object source,
CsvParseEvent.EventType type)
|
|
CsvParseEvent(Object source,
CsvParseEvent.EventType type,
String token)
|
|
CsvParseEvent(Object source,
List<String> tokens)
|
|
CsvParseEvent(Object source,
String token)
|
Method Summary | |
---|---|
String |
getToken()
|
List<String> |
getTokens()
|
CsvParseEvent.EventType |
getType()
|
void |
setToken(String token)
|
void |
setTokens(List<String> tokens)
|
String |
toString()
|
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CsvParseEvent(Object source, CsvParseEvent.EventType type)
public CsvParseEvent(Object source, CsvParseEvent.EventType type, String token)
public CsvParseEvent(Object source, String token)
public CsvParseEvent(Object source, List<String> tokens)
Method Detail |
---|
public void setToken(String token)
public String getToken()
public void setTokens(List<String> tokens)
public List<String> getTokens()
public CsvParseEvent.EventType getType()
public String toString()
toString
in class EventObject
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |