public interface IpcStreamWriter
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the writer and the underlying stream.
|
void |
closeWithoutStream()
Closes the writer but NOT the underlying stream.
|
boolean |
hasBinarySupport() |
void |
writeAttachmentsEnd()
Writes marker signaling end of a attachments list.
|
void |
writeAttachmentsStart()
Writes marker signaling start of attachments list.
|
void |
writeBinary(byte[] b)
Writes binary value.
|
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. a document).
|
void |
writeObjectStart()
Writes marker signaling start of an object (resp. a document).
|
void |
writeScalarBoolean(boolean b)
Writes boolean value. any error
|
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.
|
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 writeAttachmentsStart()
throws java.io.IOException
java.io.IOException - any errorvoid writeAttachmentsEnd()
throws java.io.IOException
java.io.IOException - any errorvoid writeScalarString(java.lang.String s)
throws java.io.IOException
s - value to writejava.io.IOException - any errorvoid writeScalarInt(int i)
throws java.io.IOException
i - value to writejava.io.IOException - any errorvoid writeScalarLong(long i)
throws java.io.IOException
i - value to writejava.io.IOException - any errorvoid writeScalarDouble(double d)
throws java.io.IOException
d - value to writejava.io.IOException - any errorvoid writeScalarBoolean(boolean b)
throws java.io.IOException
b - value to writejava.io.IOException - any errorvoid writeMappingKey(java.lang.String s)
throws java.io.IOException
s - value to writejava.io.IOException - any errorvoid writeBinary(byte[] b)
throws java.io.IOException
java.io.IOException - any errorboolean hasBinarySupport()