public final class Output
extends java.lang.Object
Constructor and Description |
---|
Output() |
Modifier and Type | Method and Description |
---|---|
static void |
writeBool(java.lang.Boolean val,
java.io.DataOutput out)
Writes a Boolean object to the given DataOutput.
|
static void |
writeByte(java.lang.Byte val,
java.io.DataOutput out)
Writes a (signed) Byte object to the given DataOutput.
|
static void |
writeByteArray(byte[] b,
java.io.DataOutput out) |
static void |
writeByteArray(byte[] b,
int off,
int len,
java.io.DataOutput out) |
static void |
writeDate(java.util.Date val,
java.io.DataOutput out)
Writes a Date object to the given DataOutput.
|
static void |
writeDecimal(java.math.BigDecimal val,
java.io.DataOutput out)
Writes a BigDecimal object to the given DataOutput.
|
static void |
writeDouble(java.lang.Double val,
java.io.DataOutput out)
Writes a Double object to the given DataOutput.
|
static void |
writeFloat(java.lang.Float val,
java.io.DataOutput out)
Writes a Float object to the given DataOutput.
|
static void |
writeInt(int n,
java.io.DataOutput out)
Writes a primitive int as Byte object to the given DataOutput.
|
static void |
writeInt(java.lang.Integer val,
java.io.DataOutput out)
FIXME!
|
static void |
writeLong(java.lang.Long val,
java.io.DataOutput out)
FIXME!
|
static void |
writeShort(java.lang.Short val,
java.io.DataOutput out)
Writes a Short object to the given DataOutput.
|
static void |
writeSidebandMarker(java.io.DataOutput out)
Writes a SIDEBAND_MARKER to the passed DataOutput.
|
static void |
writeUTF(java.lang.String str,
java.io.DataOutput out)
This is a code inspired by the writeUTF method in DataOutputStream,
which has the drawback of being unable to transfer
more than 64k long String.
|
public static void writeUTF(java.lang.String str, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeDecimal(java.math.BigDecimal val, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeLong(java.lang.Long val, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeDouble(java.lang.Double val, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeInt(java.lang.Integer val, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeShort(java.lang.Short val, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeByte(java.lang.Byte val, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeFloat(java.lang.Float val, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeInt(int n, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeBool(java.lang.Boolean val, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeDate(java.util.Date val, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeByteArray(byte[] b, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeByteArray(byte[] b, int off, int len, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void writeSidebandMarker(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.