- Type Parameters:
T- type of objects in the object storage.
public interface ObjectReader<T> extends Closeable
ObjectReaderinterface specifies the functionality to retrieve objects from an
- ASN.1/Java 1.4 beta A
readObjectRead next object from the storage. The
readObjectmethod gets a copy of the object in storage. Changes to the object retrieved have no effect on the object in storage.
- next object from the storage.
StorageException- if any error occurs when retrieving the next object or there are no more objects to read.
hasMoreObjectsboolean hasMoreObjects()Indicate if the storage has some more objects to retrieve.
- true if there are some objects to read from the storage.
closevoid close() throws StorageExceptionTerminate the reader and release any internal resources that are in use.