net.officefloor.plugin.stream.outputstream
Class OutputStreamOutputBufferStream
java.lang.Object
net.officefloor.plugin.stream.outputstream.OutputStreamOutputBufferStream
- All Implemented Interfaces:
- OutputBufferStream
public class OutputStreamOutputBufferStream
- extends Object
- implements OutputBufferStream
OutputBufferStream wrapping an OutputStream.
- Author:
- Daniel Sagenschneider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputStreamOutputBufferStream
public OutputStreamOutputBufferStream(OutputStream output)
- Initiate.
- Parameters:
output - Wrapped OutputStream.
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream in interface OutputBufferStream
write
public void write(byte[] bytes)
throws IOException
- Specified by:
write in interface OutputBufferStream
- Throws:
IOException
write
public void write(byte[] data,
int offset,
int length)
throws IOException
- Specified by:
write in interface OutputBufferStream
- Throws:
IOException
write
public void write(BufferPopulator populator)
throws IOException
- Specified by:
write in interface OutputBufferStream
- Throws:
IOException
append
public void append(ByteBuffer buffer)
throws IOException
- Specified by:
append in interface OutputBufferStream
- Throws:
IOException
append
public void append(BufferSquirt squirt)
throws IOException
- Specified by:
append in interface OutputBufferStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface OutputBufferStream
- Throws:
IOException
Copyright © 2005-2012. All Rights Reserved.