public interface RecordInput
限定符和类型 | 方法和说明 |
---|---|
void |
endMap(String tag)
Check the mark for end of the serialized map.
|
void |
endRecord(String tag)
Check the mark for end of the serialized record.
|
void |
endVector(String tag)
Check the mark for end of the serialized vector.
|
boolean |
readBool(String tag)
Read a boolean from serialized record.
|
Buffer |
readBuffer(String tag)
Read byte array from serialized record.
|
byte |
readByte(String tag)
Read a byte from serialized record.
|
double |
readDouble(String tag)
Read a double-precision number from serialized record.
|
float |
readFloat(String tag)
Read a single-precision float from serialized record.
|
int |
readInt(String tag)
Read an integer from serialized record.
|
long |
readLong(String tag)
Read a long integer from serialized record.
|
String |
readString(String tag)
Read a UTF-8 encoded string from serialized record.
|
Index |
startMap(String tag)
Check the mark for start of the serialized map.
|
void |
startRecord(String tag)
Check the mark for start of the serialized record.
|
Index |
startVector(String tag)
Check the mark for start of the serialized vector.
|
byte readByte(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
boolean readBool(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
int readInt(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
long readLong(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
float readFloat(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
double readDouble(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
String readString(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
Buffer readBuffer(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
void startRecord(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
void endRecord(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
Index startVector(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
void endVector(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
Index startMap(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
void endMap(String tag) throws IOException
tag
- Used by tagged serialization formats (such as XML)IOException
Copyright © 2009 The Apache Software Foundation