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 OutputArchive
IOException
public void writeBool(boolean b, String tag) throws IOException
writeBool
in interface OutputArchive
IOException
public void writeInt(int i, String tag) throws IOException
writeInt
in interface OutputArchive
IOException
public void writeLong(long l, String tag) throws IOException
writeLong
in interface OutputArchive
IOException
public void writeFloat(float f, String tag) throws IOException
writeFloat
in interface OutputArchive
IOException
public void writeDouble(double d, String tag) throws IOException
writeDouble
in interface OutputArchive
IOException
public void writeString(String s, String tag) throws IOException
writeString
in interface OutputArchive
IOException
public void writeBuffer(byte[] barr, String tag) throws IOException
writeBuffer
in interface OutputArchive
IOException
public void writeRecord(Record r, String tag) throws IOException
writeRecord
in interface OutputArchive
IOException
public void startRecord(Record r, String tag) throws IOException
startRecord
in interface OutputArchive
IOException
public void endRecord(Record r, String tag) throws IOException
endRecord
in interface OutputArchive
IOException
public void startVector(List<?> v, String tag) throws IOException
startVector
in interface OutputArchive
IOException
public void endVector(List<?> v, String tag) throws IOException
endVector
in interface OutputArchive
IOException
public void startMap(TreeMap<?,?> v, String tag) throws IOException
startMap
in interface OutputArchive
IOException
public void endMap(TreeMap<?,?> v, String tag) throws IOException
endMap
in interface OutputArchive
IOException
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.