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 TypeMethodDescriptionvoidvoidvoidvoidvoidstartRecord(Record r, String tag) voidstartVector(List<?> v, String tag) voidvoidwriteBuffer(byte[] buf, String tag) voidvoidwriteDouble(double d, String tag) voidwriteFloat(float f, String tag) voidvoidvoidwriteRecord(Record r, String tag) voidwriteString(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
-