|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IpcStreamWriter
Streaming API based writer for the IPC protocol.
Method Summary | |
---|---|
void |
close()
Closes the writer and the underlying stream. |
void |
closeWithoutStream()
Closes the writer but NOT the underlying stream. |
void |
writeMappingEnd()
Writes marker signaling end of a mapping. |
void |
writeMappingKey(java.lang.String s)
Writes a mapping key. |
void |
writeMappingStart()
Writes marker signaling start of a mapping. |
void |
writeObjectEnd()
Writes marker signaling end of an object (resp. |
void |
writeObjectStart()
Writes marker signaling start of an object (resp. |
void |
writeScalarBoolean(boolean b)
Writes boolean value. |
void |
writeScalarDouble(double d)
Writes double value. |
void |
writeScalarInt(int i)
Writes integer value. |
void |
writeScalarLong(long i)
Writes long value. |
void |
writeScalarString(java.lang.String s)
Writes string value. |
void |
writeSequenceEnd()
Writes marker signaling end of a sequence. |
void |
writeSequenceStart()
Writes marker signaling start of a sequence. |
Method Detail |
---|
void close() throws java.io.IOException
java.io.IOException
- any errorvoid closeWithoutStream() throws java.io.IOException
java.io.IOException
- any errorvoid writeObjectStart() throws java.io.IOException
java.io.IOException
- any errorvoid writeObjectEnd() throws java.io.IOException
java.io.IOException
- any errorvoid writeMappingStart() throws java.io.IOException
java.io.IOException
- any errorvoid writeMappingEnd() throws java.io.IOException
java.io.IOException
- any errorvoid writeSequenceStart() throws java.io.IOException
java.io.IOException
- any errorvoid writeSequenceEnd() throws java.io.IOException
java.io.IOException
- any errorvoid writeScalarString(java.lang.String s) throws java.io.IOException
s
- value to write
java.io.IOException
- any errorvoid writeScalarInt(int i) throws java.io.IOException
i
- value to write
java.io.IOException
- any errorvoid writeScalarLong(long i) throws java.io.IOException
i
- value to write
java.io.IOException
- any errorvoid writeScalarDouble(double d) throws java.io.IOException
d
- value to write
java.io.IOException
- any errorvoid writeScalarBoolean(boolean b) throws java.io.IOException
b
- value to write
java.io.IOException
- any errorvoid writeMappingKey(java.lang.String s) throws java.io.IOException
s
- value to write
java.io.IOException
- any error
|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |