Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

com::sleepycat::bind::serial::SerialInput Class Reference


Public Member Functions

 SerialInput (InputStream in, ClassCatalog classCatalog) throws IOException
 SerialInput (InputStream in, ClassCatalog classCatalog, ClassLoader classLoader) throws IOException

Detailed Description

A specialized ObjectInputStream that gets class description information from a ClassCatalog. It is used by SerialBinding.

This class is used instead of an ObjectInputStream, which it extends, to read an object stream written by the SerialOutput class. For reading objects from a database normally one of the serial binding classes is used. SerialInput is used when an ObjectInputStream is needed along with compact storage. A ClassCatalog must be supplied, however, to stored shared class descriptions.

Author:
Mark Hayes

Definition at line 35 of file SerialInput.java.


Constructor & Destructor Documentation

com::sleepycat::bind::serial::SerialInput::SerialInput InputStream  in,
ClassCatalog  classCatalog
throws IOException [inline]
 

Creates a serial input stream.

Parameters:
in is the input stream from which compact serialized objects will be read.
classCatalog is the catalog containing the class descriptions for the serialized objects.

Definition at line 49 of file SerialInput.java.

com::sleepycat::bind::serial::SerialInput::SerialInput InputStream  in,
ClassCatalog  classCatalog,
ClassLoader  classLoader
throws IOException [inline]
 

Creates a serial input stream.

Parameters:
in is the input stream from which compact serialized objects will be read.
classCatalog is the catalog containing the class descriptions for the serialized objects.
classLoader is the class loader to use, or null if a default class loader should be used.

Definition at line 67 of file SerialInput.java.


The documentation for this class was generated from the following file:
Generated on Sun Dec 25 12:14:58 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2