public class TypedDataOutputStream extends DataOutputStream
TypedDataInputStream.writtenout| Constructor and Description |
|---|
TypedDataOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValueSupported(Object value)
Determines if
value is supported by TypedDataOutputStream.writeTypedValue(Object). |
void |
writeTypedValue(Object value)
Writes the value that is represented by the given non-null object, together with information
on the value's data type.
|
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFclose, writenullOutputStreamclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic TypedDataOutputStream(OutputStream out)
public static boolean isValueSupported(Object value)
value is supported by TypedDataOutputStream.writeTypedValue(Object).public void writeTypedValue(Object value) throws IOException
value - A value of a supported type.IllegalArgumentException - when the provided type is not supported.IOException - in case of an I/O error.