public interface IDataSource
| Modifier and Type | Field and Description |
|---|---|
static char |
EOF |
| Modifier and Type | Method and Description |
|---|---|
boolean |
end()
This function is called to end reading.
|
java.lang.String |
getSourceName() |
boolean |
hasMoreData() |
boolean |
initialize()
This function is called to initialize the data source.
|
boolean |
isHealthy() |
char |
nextChar() |
int |
read(char[] buf,
int len)
This function reads a given number of characters from the source.
|
boolean |
setBookmark(int lineNo)
This function is called to mark a certain position in the input
stream.
|
boolean |
start()
This function is called to start reading.
|
boolean |
terminate()
This function is called to terminate the data source.
|
static final char EOF
java.lang.String getSourceName()
boolean hasMoreData()
char nextChar()
throws java.lang.Exception
java.lang.Exceptionint read(char[] buf,
int len)
throws java.lang.Exception
java.lang.Exceptionboolean initialize()
boolean terminate()
boolean start()
boolean end()
boolean setBookmark(int lineNo)
boolean isHealthy()