|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.esper.adapter.csv.CSVSource
public class CSVSource
A wrapper for a Reader or an InputStream.
| Constructor Summary | |
|---|---|
CSVSource(AdapterInputSource source)
Ctor. |
|
| Method Summary | |
|---|---|
void |
close()
Close the underlying resource. |
boolean |
isResettable()
Return true if the underlying resource is resettable. |
void |
mark(int readAheadLimit)
Set the mark position. |
int |
read()
Read from the underlying resource. |
void |
reset()
Reset to the beginning of the resource. |
void |
resetToMark()
Reset to the last mark position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSVSource(AdapterInputSource source)
source - - the AdapterInputSource from which to obtain the uderlying resource| Method Detail |
|---|
public void close()
throws IOException
IOException - to indicate an io error
public int read()
throws IOException
IOException - for io errorspublic boolean isResettable()
public void resetToMark()
throws IOException
IOException - for io errors
public void mark(int readAheadLimit)
throws IOException
readAheadLimit - is the maximum number of read-ahead events
IOException - when an io error occurspublic void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||