|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.edit.verifiers.comm.bridge.CToJavaInputStream
public class CToJavaInputStream
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
CToJavaInputStream(InputStream in)
Constructor for CToJavaInputStream. |
Method Summary | |
---|---|
byte[] |
read(int byteCount)
Read and return the raw bytes |
char |
readChar()
|
int |
readInt()
|
int |
readLong()
|
short |
readShort()
|
String |
readString(int byteCount)
Read a null terminated string from the input stream. |
String |
readString(int byteCount,
boolean nullTerminated)
Read a string from the input stream. |
String |
readString(int byteCount,
boolean nullTerminated,
boolean force,
boolean trim)
Read a string from the input stream. |
char |
readUnsignedChar()
|
long |
readUnsignedInt()
|
long |
readUnsignedLong()
|
int |
readUnsignedShort()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
Constructor Detail |
---|
public CToJavaInputStream(InputStream in)
Method Detail |
---|
public short readShort() throws IOException
IOException
public int readUnsignedShort() throws IOException
IOException
public int readInt() throws IOException
IOException
public long readUnsignedInt() throws IOException
IOException
public int readLong() throws IOException
IOException
public long readUnsignedLong() throws IOException
IOException
public char readChar() throws IOException
IOException
public char readUnsignedChar() throws IOException
IOException
public String readString(int byteCount) throws IOException
byteCount
- The number of bytes to read from the input stream.
IOException
public String readString(int byteCount, boolean nullTerminated) throws IOException
IOException
public String readString(int byteCount, boolean nullTerminated, boolean force, boolean trim) throws IOException
IOException
public byte[] read(int byteCount) throws IOException
IOException
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |