|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TCDataOutput
Output stream interface. This interface doesn't declare thrown IOExceptions on writeXXX() methods and adds writeString() for uniform String handling (unlike writeUTF() which has length restrictions)
Method Summary | |
---|---|
void |
close()
Close the stream |
void |
write(byte[] value)
Write byte array |
void |
write(byte[] value,
int offset,
int length)
Write byte array from offset of length |
void |
write(int value)
Write int |
void |
writeBoolean(boolean value)
Write boolean |
void |
writeByte(int value)
Write byte |
void |
writeChar(int value)
Write char |
void |
writeDouble(double value)
Write double |
void |
writeFloat(float value)
Write float |
void |
writeInt(int value)
Write int |
void |
writeLong(long value)
Write long |
void |
writeShort(int value)
Write short |
void |
writeString(java.lang.String string)
Write String |
Methods inherited from interface java.io.DataOutput |
---|
writeBytes, writeChars, writeUTF |
Method Detail |
---|
void close()
void write(int value)
write
in interface java.io.DataOutput
value
- Valuevoid write(byte[] value)
write
in interface java.io.DataOutput
value
- Valuevoid write(byte[] value, int offset, int length)
write
in interface java.io.DataOutput
value
- Valueoffset
- Start at offset in valuelength
- Length to writevoid writeBoolean(boolean value)
writeBoolean
in interface java.io.DataOutput
value
- Valuevoid writeByte(int value)
writeByte
in interface java.io.DataOutput
value
- Valuevoid writeChar(int value)
writeChar
in interface java.io.DataOutput
value
- Valuevoid writeDouble(double value)
writeDouble
in interface java.io.DataOutput
value
- Valuevoid writeFloat(float value)
writeFloat
in interface java.io.DataOutput
value
- Valuevoid writeInt(int value)
writeInt
in interface java.io.DataOutput
value
- Valuevoid writeLong(long value)
writeLong
in interface java.io.DataOutput
value
- Valuevoid writeShort(int value)
writeShort
in interface java.io.DataOutput
value
- Valuevoid writeString(java.lang.String string)
value
- Value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |