|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esperio.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 resourceMethod Detail |
---|
public void close() throws java.io.IOException
java.io.IOException
- to indicate an io errorpublic int read() throws java.io.IOException
java.io.IOException
- for io errorspublic boolean isResettable()
public void resetToMark() throws java.io.IOException
java.io.IOException
- for io errorspublic void mark(int readAheadLimit) throws java.io.IOException
readAheadLimit
- is the maximum number of read-ahead events
java.io.IOException
- when an io error occurspublic void reset()
|
© 2006-2016 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |