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.
-
Terminated_ASCII_String(byte, boolean)
- Creates a Terminated_ASCII_String instance.
-
getValue()
- Gets the most recently read string value.
-
readLegacy(DataInputStream)
- Reads the value of this object from an input stream.
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.
getValue
public String getValue()
- Gets the most recently read string value.
- Returns:
- The most recently read string value.
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