|
GF4J 0.9.4 Beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--java.io.FilterOutputStream | +--gameframe.util.BigEndianDataOutputStream
Output stream filter that filters all output values to big endian format that is used e.g. by Intel processor equipped computers.
Fields inherited from class java.io.FilterOutputStream |
out |
Constructor Summary | |
BigEndianDataOutputStream(java.io.OutputStream outputstream)
Constructs an big endian output filter. |
Method Summary | |
void |
flush()
Flushes the used output stream. |
void |
write(byte[] aByte,
int offset,
int length)
Writes the series of bytes in big endian format. |
void |
write(int integer)
Writes an integer to the used output stream in big endian format. |
void |
writeBoolean(boolean flag)
Writes the given boolean value. |
void |
writeByte(int byteValue)
Writes the given byte. |
void |
writeBytes(java.lang.String strText)
Writes the given string as an array of bytes. |
void |
writeChar(int character)
Writes the given Unicode character. |
void |
writeChars(java.lang.String strText)
Writes the given string as an array of Unicode characters. |
void |
writeDouble(double doubleValue)
Writes the given double value in big endian format. |
void |
writeFloat(float flValue)
Writes the given floating point value in big endian format. |
void |
writeInt(int intValue)
Writes the given integer value in big endian format. |
void |
writeLong(long longValue)
Writes the given long value in big endian format. |
void |
writeShort(int shortValue)
Writes the given short value in big endian format. |
void |
writeUTF(java.lang.String strText)
Does nothing. |
Methods inherited from class java.io.FilterOutputStream |
close, write |
Methods inherited from class java.lang.Object |
|
Methods inherited from interface java.io.DataOutput |
write |
Constructor Detail |
public BigEndianDataOutputStream(java.io.OutputStream outputstream)
outputStream
- The output stream to write to.Method Detail |
public void flush() throws java.io.IOException
flush
in class java.io.FilterOutputStream
public void write(int integer) throws java.io.IOException
write
in interface java.io.DataOutput
write
in class java.io.FilterOutputStream
integer
- The integer that is written.public void write(byte[] aByte, int offset, int length) throws java.io.IOException
write
in interface java.io.DataOutput
write
in class java.io.FilterOutputStream
offset
- The offset into the array.length
- The length of the written array.public final void writeBoolean(boolean flag) throws java.io.IOException
writeBoolean
in interface java.io.DataOutput
flag
- The boolean valuepublic final void writeByte(int byteValue) throws java.io.IOException
writeByte
in interface java.io.DataOutput
byteValue
- The byte to be written.public final void writeBytes(java.lang.String strText) throws java.io.IOException
writeBytes
in interface java.io.DataOutput
strText
- The text to be written.public final void writeChar(int character) throws java.io.IOException
writeChar
in interface java.io.DataOutput
character
- The character to be written.public final void writeChars(java.lang.String strText) throws java.io.IOException
writeChars
in interface java.io.DataOutput
strText
- the text to be written.public final void writeDouble(double doubleValue) throws java.io.IOException
writeDouble
in interface java.io.DataOutput
public final void writeFloat(float flValue) throws java.io.IOException
writeFloat
in interface java.io.DataOutput
floatValue
- The floating point value to be written.public final void writeInt(int intValue) throws java.io.IOException
writeInt
in interface java.io.DataOutput
intValue
- The integer value to be written.public final void writeLong(long longValue) throws java.io.IOException
writeLong
in interface java.io.DataOutput
longValue
- The long value to be written.public final void writeShort(int shortValue) throws java.io.IOException
writeShort
in interface java.io.DataOutput
shortValue
- The short value to be written.public final void writeUTF(java.lang.String strText) throws java.io.IOException
writeUTF
in interface java.io.DataOutput
strText
- Not used.
|
GF4J 0.9.4 Beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |