|
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 error
void closeWithoutStream()
throws java.io.IOException
java.io.IOException - any error
void writeObjectStart()
throws java.io.IOException
java.io.IOException - any error
void writeObjectEnd()
throws java.io.IOException
java.io.IOException - any error
void writeMappingStart()
throws java.io.IOException
java.io.IOException - any error
void writeMappingEnd()
throws java.io.IOException
java.io.IOException - any error
void writeSequenceStart()
throws java.io.IOException
java.io.IOException - any error
void writeSequenceEnd()
throws java.io.IOException
java.io.IOException - any error
void writeScalarString(java.lang.String s)
throws java.io.IOException
s - value to write
java.io.IOException - any error
void writeScalarInt(int i)
throws java.io.IOException
i - value to write
java.io.IOException - any error
void writeScalarLong(long i)
throws java.io.IOException
i - value to write
java.io.IOException - any error
void writeScalarDouble(double d)
throws java.io.IOException
d - value to write
java.io.IOException - any error
void writeScalarBoolean(boolean b)
throws java.io.IOException
b - value to write
java.io.IOException - any error
void 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 | ||||||||