Package org.apache.jute
Interface OutputArchive
- All Known Implementing Classes:
BinaryOutputArchive
,ToStringOutputArchive
public interface OutputArchive
Interface that all the serializers have to implement.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
startRecord
(Record r, String tag) void
startVector
(List<?> v, String tag) void
void
writeBuffer
(byte[] buf, String tag) void
void
writeDouble
(double d, String tag) void
writeFloat
(float f, String tag) void
void
void
writeRecord
(Record r, String tag) void
writeString
(String s, String tag)
-
Method Details
-
writeByte
- Throws:
IOException
-
writeBool
- Throws:
IOException
-
writeInt
- Throws:
IOException
-
writeLong
- Throws:
IOException
-
writeFloat
- Throws:
IOException
-
writeDouble
- Throws:
IOException
-
writeString
- Throws:
IOException
-
writeBuffer
- Throws:
IOException
-
writeRecord
- Throws:
IOException
-
startRecord
- Throws:
IOException
-
endRecord
- Throws:
IOException
-
startVector
- Throws:
IOException
-
endVector
- Throws:
IOException
-
startMap
- Throws:
IOException
-
endMap
- Throws:
IOException
-