public static class Payload.StringBufferOutputStream extends OutputStream
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the output stream (empty).
|
void |
flush()
Forces any buffered output to be written (empty).
|
String |
getContent()
Returns the content of the output stream.
|
void |
reset()
Resets the output stream, deleting any content stored in the string buffer.
|
void |
setContent(String str)
Sets the content of the output stream after first resetting it.
|
void |
write(int b)
Writes to the output stream.
|
write, writepublic void reset()
public void setContent(String str)
str - content to be written to the output streampublic String getContent()
public void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamb - content to be written to the output streamIOException - if there is an error while writing to the streamCopyright © Jitterbit, Inc. Licensed under the Jitterbit Master Subscription Agreement.