Class COM.ibm.jaws.motk.EnumInputEDStream
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.ibm.jaws.motk.EnumInputEDStream

java.lang.Object
   |
   +----COM.ibm.jaws.motk.EnumInputEDStream

public class EnumInputEDStream
extends Object
implements InputEDStream
This class implements a stream with a java.util.Enumeration as its underlying storage. The stream in only for input and cannot be reset.

Variable Index

 o defaultRelativeTo
 o enum

Constructor Index

 o EnumInputEDStream(Enumeration)
Creates a new stream from the specified java.util.Enumeration

Method Index

 o atEnd()
 o close()
Releases all the resources associated with this stream.
 o readBegin()
 o readBoolean()
 o readByte()
 o readChar()
 o readDouble()
 o readEnd()
 o readFloat()
 o readInt()
 o readLong()
 o readManageable()
 o readManaged(BaseCollection)
 o readObject()
 o readShort()
 o readString()
 o setDefaultRelativeTo(BaseCollection)
Used when relativeTo parameter to readManaged is null.

Variables

 o enum
  protected Enumeration enum
 o defaultRelativeTo
  protected BaseCollection defaultRelativeTo

Constructors

 o EnumInputEDStream
  public EnumInputEDStream(Enumeration enum)
Creates a new stream from the specified java.util.Enumeration
Parameters:
enum - the enumeration of objects to be read by this stream.

Methods

 o setDefaultRelativeTo
  public void setDefaultRelativeTo(BaseCollection defaultRelativeTo)
Used when relativeTo parameter to readManaged is null.
 o close
  public void close()
Releases all the resources associated with this stream. All data in the stream will be lost unless it it retained elsewhere.
 o readObject
  public Object readObject()
 o atEnd
  public boolean atEnd()
 o readBegin
  public void readBegin()
 o readEnd
  public void readEnd()
 o readBoolean
  public boolean readBoolean()
 o readByte
  public byte readByte()
 o readShort
  public short readShort()
 o readInt
  public int readInt()
 o readLong
  public long readLong()
 o readFloat
  public float readFloat()
 o readDouble
  public double readDouble()
 o readChar
  public char readChar()
 o readString
  public String readString()
 o readManageable
  public Manageable readManageable()
 o readManaged
  public Managed readManaged(BaseCollection relativeTo)

All Packages  Class Hierarchy  This Package  Previous  Next  Index