|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public interface RecordOutput
Interface that all the serializers have to implement.
Method Summary | |
---|---|
void |
endMap(TreeMap m,
String tag)
Deprecated. Mark the end of a serialized map. |
void |
endRecord(Record r,
String tag)
Deprecated. Mark the end of a serialized record. |
void |
endVector(ArrayList v,
String tag)
Deprecated. Mark the end of a serialized vector. |
void |
startMap(TreeMap m,
String tag)
Deprecated. Mark the start of a map to be serialized. |
void |
startRecord(Record r,
String tag)
Deprecated. Mark the start of a record to be serialized. |
void |
startVector(ArrayList v,
String tag)
Deprecated. Mark the start of a vector to be serialized. |
void |
writeBool(boolean b,
String tag)
Deprecated. Write a boolean to serialized record. |
void |
writeBuffer(Buffer buf,
String tag)
Deprecated. Write a buffer to serialized record. |
void |
writeByte(byte b,
String tag)
Deprecated. Write a byte to serialized record. |
void |
writeDouble(double d,
String tag)
Deprecated. Write a double precision floating point number to serialized record. |
void |
writeFloat(float f,
String tag)
Deprecated. Write a single-precision float to serialized record. |
void |
writeInt(int i,
String tag)
Deprecated. Write an integer to serialized record. |
void |
writeLong(long l,
String tag)
Deprecated. Write a long integer to serialized record. |
void |
writeString(String s,
String tag)
Deprecated. Write a unicode string to serialized record. |
Method Detail |
---|
void writeByte(byte b, String tag) throws IOException
b
- Byte to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid writeBool(boolean b, String tag) throws IOException
b
- Boolean to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid writeInt(int i, String tag) throws IOException
i
- Integer to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid writeLong(long l, String tag) throws IOException
l
- Long to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid writeFloat(float f, String tag) throws IOException
f
- Float to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid writeDouble(double d, String tag) throws IOException
d
- Double to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid writeString(String s, String tag) throws IOException
s
- String to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid writeBuffer(Buffer buf, String tag) throws IOException
buf
- Buffer to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid startRecord(Record r, String tag) throws IOException
r
- Record to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid endRecord(Record r, String tag) throws IOException
r
- Record to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid startVector(ArrayList v, String tag) throws IOException
v
- Vector to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid endVector(ArrayList v, String tag) throws IOException
v
- Vector to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid startMap(TreeMap m, String tag) throws IOException
m
- Map to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serializationvoid endMap(TreeMap m, String tag) throws IOException
m
- Map to be serializedtag
- Used by tagged serialization formats (such as XML)
IOException
- Indicates error in serialization
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |