public class DataOutputExtendedDecorator extends Object implements DataOutputExtended
| Constructor and Description |
|---|
DataOutputExtendedDecorator(DataOutputExtended underlying) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
DataOutputStream |
getDataOutputStream() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b)
NB: only writes out byte.
|
void |
writeBoolean(boolean v) |
void |
writeBooleans(boolean[] booleans) |
void |
writeByte(int v)
Same as
DataOutputExtended.write(int). |
void |
writeBytes(byte[] bytes) |
void |
writeBytes(String s) |
void |
writeChar(int v) |
void |
writeChars(char[] chars) |
void |
writeChars(String s) |
void |
writeDouble(double v) |
void |
writeDoubles(double[] doubles) |
void |
writeEncodable(Object encodable) |
void |
writeEncodables(Object[] encodables) |
void |
writeFloat(float v) |
void |
writeFloats(float[] floats) |
void |
writeInt(int v) |
void |
writeInts(int[] ints) |
void |
writeLong(long v) |
void |
writeLongs(long[] longs) |
void |
writeSerializable(Object serializable) |
void |
writeSerializables(Object[] serializables) |
void |
writeShort(int v) |
void |
writeShorts(short[] shorts) |
void |
writeUTF(String str) |
void |
writeUTFs(String[] strings) |
public DataOutputExtendedDecorator(DataOutputExtended underlying)
public DataOutputStream getDataOutputStream()
getDataOutputStream in interface DataOutputExtendedpublic void writeBoolean(boolean v) throws IOException
writeBoolean in interface DataOutputIOExceptionpublic void writeBooleans(boolean[] booleans) throws IOException
writeBooleans in interface DataOutputExtendedIOExceptionpublic void writeChar(int v) throws IOException
writeChar in interface DataOutputIOExceptionpublic void writeChars(char[] chars) throws IOException
writeChars in interface DataOutputExtendedIOExceptionpublic void write(int b) throws IOException
DataOutputExtendedwrite in interface DataOutputwrite in interface DataOutputExtendedIOExceptionpublic void writeByte(int v) throws IOException
DataOutputExtendedDataOutputExtended.write(int).writeByte in interface DataOutputwriteByte in interface DataOutputExtendedIOExceptionpublic void write(byte[] b) throws IOException
write in interface DataOutputIOExceptionpublic void writeBytes(byte[] bytes) throws IOException
writeBytes in interface DataOutputExtendedIOExceptionpublic void writeShort(int v) throws IOException
writeShort in interface DataOutputIOExceptionpublic void writeShorts(short[] shorts) throws IOException
writeShorts in interface DataOutputExtendedIOExceptionpublic void writeInt(int v) throws IOException
writeInt in interface DataOutputIOExceptionpublic void writeInts(int[] ints) throws IOException
writeInts in interface DataOutputExtendedIOExceptionpublic void writeLong(long v) throws IOException
writeLong in interface DataOutputIOExceptionpublic void writeLongs(long[] longs) throws IOException
writeLongs in interface DataOutputExtendedIOExceptionpublic void writeFloat(float v) throws IOException
writeFloat in interface DataOutputIOExceptionpublic void writeFloats(float[] floats) throws IOException
writeFloats in interface DataOutputExtendedIOExceptionpublic void writeDouble(double v) throws IOException
writeDouble in interface DataOutputIOExceptionpublic void writeDoubles(double[] doubles) throws IOException
writeDoubles in interface DataOutputExtendedIOExceptionpublic void writeUTF(String str) throws IOException
writeUTF in interface DataOutputIOExceptionpublic void writeUTFs(String[] strings) throws IOException
writeUTFs in interface DataOutputExtendedIOExceptionpublic void writeEncodable(Object encodable) throws IOException
writeEncodable in interface DataOutputExtendedIOExceptionpublic void writeEncodables(Object[] encodables) throws IOException
writeEncodables in interface DataOutputExtendedIOExceptionpublic void writeSerializable(Object serializable) throws IOException
writeSerializable in interface DataOutputExtendedIOExceptionpublic void writeSerializables(Object[] serializables) throws IOException
writeSerializables in interface DataOutputExtendedIOExceptionpublic void write(byte[] b, int off, int len) throws IOException
write in interface DataOutputIOExceptionpublic void writeBytes(String s) throws IOException
writeBytes in interface DataOutputIOExceptionpublic void writeChars(String s) throws IOException
writeChars in interface DataOutputIOExceptionpublic void flush() throws IOException
flush in interface FlushableIOExceptionCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.