|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmaito.datacollecting.file.FileDataSource
public class FileDataSource
Reads a file in lines and passes them to a RecordParser for parsing. The buffering is done in the parser.
| Constructor Summary | |
|---|---|
FileDataSource(java.util.Properties parameters,
RecordParser recordParser)
|
|
| Method Summary | |
|---|---|
void |
update()
Reads the source file in blocks and passes them on to the specified recordParser When the end of the file is reached, sends a null block. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileDataSource(java.util.Properties parameters,
RecordParser recordParser)
throws DataSourceException
DataSourceException| Method Detail |
|---|
public void update()
throws DataSourceException
update in interface DataSourceDataSourceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||