public interface DataOutputExtended extends DataOutput, Flushable
| Modifier and Type | Method and Description |
|---|---|
DataOutputStream |
getDataOutputStream() |
void |
write(int b)
NB: only writes out byte.
|
void |
writeBooleans(boolean[] booleans) |
void |
writeByte(int v)
Same as
write(int). |
void |
writeBytes(byte[] bytes) |
void |
writeChars(char[] chars) |
void |
writeDoubles(double[] doubles) |
void |
writeEncodable(Object encodable) |
void |
writeEncodables(Object[] encodables) |
void |
writeFloats(float[] floats) |
void |
writeInts(int[] ints) |
void |
writeLongs(long[] longs) |
void |
writeSerializable(Object serializable) |
void |
writeSerializables(Object[] serializables) |
void |
writeShorts(short[] shorts) |
void |
writeUTFs(String[] strings) |
write, write, writeBoolean, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFvoid writeBooleans(boolean[] booleans) throws IOException
IOExceptionvoid writeChars(char[] chars) throws IOException
IOExceptionvoid write(int b) throws IOException
write in interface DataOutputIOExceptionvoid writeByte(int v) throws IOException
write(int).writeByte in interface DataOutputIOExceptionvoid writeBytes(byte[] bytes) throws IOException
IOExceptionvoid writeShorts(short[] shorts) throws IOException
IOExceptionvoid writeInts(int[] ints) throws IOException
IOExceptionvoid writeLongs(long[] longs) throws IOException
IOExceptionvoid writeDoubles(double[] doubles) throws IOException
IOExceptionvoid writeFloats(float[] floats) throws IOException
IOExceptionvoid writeUTFs(String[] strings) throws IOException
IOExceptionvoid writeEncodable(Object encodable) throws IOException
IOExceptionvoid writeEncodables(Object[] encodables) throws IOException
IOExceptionvoid writeSerializable(Object serializable) throws IOException
IOExceptionvoid writeSerializables(Object[] serializables) throws IOException
IOExceptionDataOutputStream getDataOutputStream()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.