All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.tools.dataFormatWizard.readers.Terminated_ASCII_String

java.lang.Object
   |
   +----com.ibm.beans.tools.dataFormatWizard.readers.Terminated_ASCII_String

public class Terminated_ASCII_String
extends Object
implements LegacyReader
Terminated_ASCII_String is a simple class to read a string of ASCII characters.


Constructor Index

 o Terminated_ASCII_String(byte, boolean)
Creates a Terminated_ASCII_String instance.

Method Index

 o getValue()
Gets the most recently read string value.
 o readLegacy(DataInputStream)
Reads the value of this object from an input stream.

Constructors

 o Terminated_ASCII_String
 public Terminated_ASCII_String(byte toByte,
                                boolean include)
Creates a Terminated_ASCII_String instance.

Parameters:
toByte - The byte which will terminate this string.
inclusive - If true, include the terminating byte within the value of the string.

Methods

 o getValue
 public String getValue()
Gets the most recently read string value.

Returns:
The most recently read string value.
 o readLegacy
 public void readLegacy(DataInputStream inputStream) throws IOException
Reads the value of this object from an input stream.

Parameters:
inputStream - An input stream.

All Packages  Class Hierarchy  This Package  Previous  Next  Index