public class BinaryOutputArchive extends Object implements OutputArchive
| Constructor and Description |
|---|
BinaryOutputArchive(DataOutput out)
Creates a new instance of BinaryOutputArchive.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endMap(TreeMap<?,?> v,
String tag) |
void |
endRecord(Record r,
String tag) |
void |
endVector(List<?> v,
String tag) |
static BinaryOutputArchive |
getArchive(OutputStream strm) |
void |
startMap(TreeMap<?,?> v,
String tag) |
void |
startRecord(Record r,
String tag) |
void |
startVector(List<?> v,
String tag) |
void |
writeBool(boolean b,
String tag) |
void |
writeBuffer(byte[] barr,
String tag) |
void |
writeByte(byte b,
String tag) |
void |
writeDouble(double d,
String tag) |
void |
writeFloat(float f,
String tag) |
void |
writeInt(int i,
String tag) |
void |
writeLong(long l,
String tag) |
void |
writeRecord(Record r,
String tag) |
void |
writeString(String s,
String tag) |
public BinaryOutputArchive(DataOutput out)
public static BinaryOutputArchive getArchive(OutputStream strm)
public void writeByte(byte b,
String tag)
throws IOException
writeByte in interface OutputArchiveIOExceptionpublic void writeBool(boolean b,
String tag)
throws IOException
writeBool in interface OutputArchiveIOExceptionpublic void writeInt(int i,
String tag)
throws IOException
writeInt in interface OutputArchiveIOExceptionpublic void writeLong(long l,
String tag)
throws IOException
writeLong in interface OutputArchiveIOExceptionpublic void writeFloat(float f,
String tag)
throws IOException
writeFloat in interface OutputArchiveIOExceptionpublic void writeDouble(double d,
String tag)
throws IOException
writeDouble in interface OutputArchiveIOExceptionpublic void writeString(String s, String tag) throws IOException
writeString in interface OutputArchiveIOExceptionpublic void writeBuffer(byte[] barr,
String tag)
throws IOException
writeBuffer in interface OutputArchiveIOExceptionpublic void writeRecord(Record r, String tag) throws IOException
writeRecord in interface OutputArchiveIOExceptionpublic void startRecord(Record r, String tag) throws IOException
startRecord in interface OutputArchiveIOExceptionpublic void endRecord(Record r, String tag) throws IOException
endRecord in interface OutputArchiveIOExceptionpublic void startVector(List<?> v, String tag) throws IOException
startVector in interface OutputArchiveIOExceptionpublic void endVector(List<?> v, String tag) throws IOException
endVector in interface OutputArchiveIOExceptionpublic void startMap(TreeMap<?,?> v, String tag) throws IOException
startMap in interface OutputArchiveIOExceptionpublic void endMap(TreeMap<?,?> v, String tag) throws IOException
endMap in interface OutputArchiveIOExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.