Package org.apache.jute
Interface OutputArchive
-
- All Known Implementing Classes:
BinaryOutputArchive,ToStringOutputArchive
public interface OutputArchiveInterface that all the serializers have to implement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidendMap(TreeMap<?,?> v, String tag)voidendRecord(Record r, String tag)voidendVector(List<?> v, String tag)voidstartMap(TreeMap<?,?> v, String tag)voidstartRecord(Record r, String tag)voidstartVector(List<?> v, String tag)voidwriteBool(boolean b, String tag)voidwriteBuffer(byte[] buf, String tag)voidwriteByte(byte b, String tag)voidwriteDouble(double d, String tag)voidwriteFloat(float f, String tag)voidwriteInt(int i, String tag)voidwriteLong(long l, String tag)voidwriteRecord(Record r, String tag)voidwriteString(String s, String tag)
-
-
-
Method Detail
-
writeByte
void writeByte(byte b, String tag) throws IOException- Throws:
IOException
-
writeBool
void writeBool(boolean b, String tag) throws IOException- Throws:
IOException
-
writeInt
void writeInt(int i, String tag) throws IOException- Throws:
IOException
-
writeLong
void writeLong(long l, String tag) throws IOException- Throws:
IOException
-
writeFloat
void writeFloat(float f, String tag) throws IOException- Throws:
IOException
-
writeDouble
void writeDouble(double d, String tag) throws IOException- Throws:
IOException
-
writeString
void writeString(String s, String tag) throws IOException
- Throws:
IOException
-
writeBuffer
void writeBuffer(byte[] buf, String tag) throws IOException- Throws:
IOException
-
writeRecord
void writeRecord(Record r, String tag) throws IOException
- Throws:
IOException
-
startRecord
void startRecord(Record r, String tag) throws IOException
- Throws:
IOException
-
endRecord
void endRecord(Record r, String tag) throws IOException
- Throws:
IOException
-
startVector
void startVector(List<?> v, String tag) throws IOException
- Throws:
IOException
-
endVector
void endVector(List<?> v, String tag) throws IOException
- Throws:
IOException
-
startMap
void startMap(TreeMap<?,?> v, String tag) throws IOException
- Throws:
IOException
-
endMap
void endMap(TreeMap<?,?> v, String tag) throws IOException
- Throws:
IOException
-
-