Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.types
Interface Resetable  view Resetable download Resetable.java


public interface Resetable

This is a simple interface that is used by streams that can initialize and reset themselves. The purpose is for the implementation of BLOB/CLOB. It defines a methods that can be used to initialize and reset a stream.


Method Summary
 void closeStream()
          Close.
 void initStream()
          Initialize.
 void resetStream()
          Reset the stream to the beginning.
 

Method Detail

resetStream

public void resetStream()
                 throws java.io.IOException,
                        org.apache.derby.iapi.error.StandardException
Reset the stream to the beginning.


initStream

public void initStream()
                throws org.apache.derby.iapi.error.StandardException
Initialize. Needs to be called first, before a resetable stream can be used.


closeStream

public void closeStream()
Close. Free resources (such as open containers and locks) associated with the stream.