OutputArchivepublic class BinaryOutputArchive extends java.lang.Object implements OutputArchive
| Constructor | Description |
|---|---|
BinaryOutputArchive(java.io.DataOutput out) |
Creates a new instance of BinaryOutputArchive
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
endMap(java.util.TreeMap v,
java.lang.String tag) |
|
void |
endRecord(Record r,
java.lang.String tag) |
|
void |
endVector(java.util.List v,
java.lang.String tag) |
|
static BinaryOutputArchive |
getArchive(java.io.OutputStream strm) |
|
void |
startMap(java.util.TreeMap v,
java.lang.String tag) |
|
void |
startRecord(Record r,
java.lang.String tag) |
|
void |
startVector(java.util.List v,
java.lang.String tag) |
|
void |
writeBool(boolean b,
java.lang.String tag) |
|
void |
writeBuffer(byte[] barr,
java.lang.String tag) |
|
void |
writeByte(byte b,
java.lang.String tag) |
|
void |
writeDouble(double d,
java.lang.String tag) |
|
void |
writeFloat(float f,
java.lang.String tag) |
|
void |
writeInt(int i,
java.lang.String tag) |
|
void |
writeLong(long l,
java.lang.String tag) |
|
void |
writeRecord(Record r,
java.lang.String tag) |
|
void |
writeString(java.lang.String s,
java.lang.String tag) |
public BinaryOutputArchive(java.io.DataOutput out)
public static BinaryOutputArchive getArchive(java.io.OutputStream strm)
public void writeByte(byte b,
java.lang.String tag)
throws java.io.IOException
writeByte in interface OutputArchivejava.io.IOExceptionpublic void writeBool(boolean b,
java.lang.String tag)
throws java.io.IOException
writeBool in interface OutputArchivejava.io.IOExceptionpublic void writeInt(int i,
java.lang.String tag)
throws java.io.IOException
writeInt in interface OutputArchivejava.io.IOExceptionpublic void writeLong(long l,
java.lang.String tag)
throws java.io.IOException
writeLong in interface OutputArchivejava.io.IOExceptionpublic void writeFloat(float f,
java.lang.String tag)
throws java.io.IOException
writeFloat in interface OutputArchivejava.io.IOExceptionpublic void writeDouble(double d,
java.lang.String tag)
throws java.io.IOException
writeDouble in interface OutputArchivejava.io.IOExceptionpublic void writeString(java.lang.String s,
java.lang.String tag)
throws java.io.IOException
writeString in interface OutputArchivejava.io.IOExceptionpublic void writeBuffer(byte[] barr,
java.lang.String tag)
throws java.io.IOException
writeBuffer in interface OutputArchivejava.io.IOExceptionpublic void writeRecord(Record r, java.lang.String tag) throws java.io.IOException
writeRecord in interface OutputArchivejava.io.IOExceptionpublic void startRecord(Record r, java.lang.String tag) throws java.io.IOException
startRecord in interface OutputArchivejava.io.IOExceptionpublic void endRecord(Record r, java.lang.String tag) throws java.io.IOException
endRecord in interface OutputArchivejava.io.IOExceptionpublic void startVector(java.util.List v,
java.lang.String tag)
throws java.io.IOException
startVector in interface OutputArchivejava.io.IOExceptionpublic void endVector(java.util.List v,
java.lang.String tag)
throws java.io.IOException
endVector in interface OutputArchivejava.io.IOExceptionpublic void startMap(java.util.TreeMap v,
java.lang.String tag)
throws java.io.IOException
startMap in interface OutputArchivejava.io.IOExceptionpublic void endMap(java.util.TreeMap v,
java.lang.String tag)
throws java.io.IOException
endMap in interface OutputArchivejava.io.IOExceptionCopyright © 2018 The Apache Software Foundation