ThinkUI Data Generator 1.0.2 API

thinkui.db.io
Interface DataObjectReader

All Known Implementing Classes:
AbstractDataObjectReader

public interface DataObjectReader

Data object reader.


Method Summary
 void close()
          Closes the reader.
 int getCount()
           
 void init()
          Initializes the reader.
 int readAll(java.util.EventListener eventHandler)
          Read all the data objects and notify the given event handler.
 

Method Detail

close

public void close()
           throws java.lang.Exception
Closes the reader.

Throws:
java.lang.Exception

getCount

public int getCount()
Returns:
the number of objects that has been written.

init

public void init()
          throws java.lang.Exception
Initializes the reader.

Throws:
java.lang.Exception

readAll

public int readAll(java.util.EventListener eventHandler)
            throws java.lang.Exception
Read all the data objects and notify the given event handler. This method should be use to ensure more efficient bulk processing.

Throws:
java.lang.Exception

ThinkUI Data Generator 1.0.2 API

Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.