public interface BufferFormatter
This is a framework internal class! Backward compatibility is not guaranteed.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(Buffer buffer)
Return the String representation of a specified Buffer.
|
void |
format(Buffer buffer,
java.io.OutputStream output)
Write the String representation of a specified Buffer to a byte stream.
|
void |
parse(java.io.InputStream input,
Buffer buffer)
Consume and return one Buffer object from the specified byte stream.
|
void |
parse(java.lang.String data,
Buffer buffer)
Trnsform the specified String into a Buffer object.
|
void format(Buffer buffer, java.io.OutputStream output) throws java.io.IOException
java.io.IOException
java.lang.String format(Buffer buffer)
void parse(java.io.InputStream input, Buffer buffer) throws BufferFormatException, java.io.IOException
BufferFormatException
java.io.IOException
void parse(java.lang.String data, Buffer buffer) throws BufferFormatException, java.io.IOException
BufferFormatException
java.io.IOException