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.
-
defaultRelativeTo
-
-
enum
-
-
EnumInputEDStream(Enumeration)
- Creates a new stream from the specified java.util.Enumeration
-
atEnd()
-
-
close()
- Releases all the resources associated with this stream.
-
readBegin()
-
-
readBoolean()
-
-
readByte()
-
-
readChar()
-
-
readDouble()
-
-
readEnd()
-
-
readFloat()
-
-
readInt()
-
-
readLong()
-
-
readManageable()
-
-
readManaged(BaseCollection)
-
-
readObject()
-
-
readShort()
-
-
readString()
-
-
setDefaultRelativeTo(BaseCollection)
- Used when relativeTo parameter to readManaged is null.
enum
protected Enumeration enum
defaultRelativeTo
protected BaseCollection defaultRelativeTo
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.
setDefaultRelativeTo
public void setDefaultRelativeTo(BaseCollection defaultRelativeTo)
- Used when relativeTo parameter to readManaged is null.
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.
readObject
public Object readObject()
atEnd
public boolean atEnd()
readBegin
public void readBegin()
readEnd
public void readEnd()
readBoolean
public boolean readBoolean()
readByte
public byte readByte()
readShort
public short readShort()
readInt
public int readInt()
readLong
public long readLong()
readFloat
public float readFloat()
readDouble
public double readDouble()
readChar
public char readChar()
readString
public String readString()
readManageable
public Manageable readManageable()
readManaged
public Managed readManaged(BaseCollection relativeTo)
All Packages Class Hierarchy This Package Previous Next Index