public interface OutputByteStream
| Modifier and Type | Field and Description |
|---|---|
static int |
EOF
Only for internal engineering use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Only for internal engineering use.
|
InputByteStream |
closeAndConvert()
Only for internal engineering use.
|
boolean |
eof()
Only for internal engineering use.
|
void |
flush()
Only for internal engineering use.
|
long |
getPosition()
Only for internal engineering use.
|
long |
length()
Only for internal engineering use.
|
OutputByteStream |
seek(long position)
Only for internal engineering use.
|
SkippingOutputStream |
toOutputStream()
This will return a new OutputStream that wraps the same bytes as the
OutputByteStream.
|
void |
write(byte[] bytes)
Only for internal engineering use.
|
void |
write(byte[] bytes,
int offset,
int length)
Only for internal engineering use.
|
void |
write(int b)
Only for internal engineering use.
|
static final int EOF
void write(int b)
throws IOException
-1. If not beyond the end
of the underlying data the current position is incremented by 1.IOExceptionvoid write(byte[] bytes,
int offset,
int length)
throws IOException
bytes - The source array.offset - The offset in the byte array to begin writing from.length - The number of bytes to write.IOExceptionvoid write(byte[] bytes)
throws IOException
bytes - The source array.IOExceptionOutputByteStream seek(long position) throws IOException
position - Where to set the current position.IOExceptionlong getPosition()
throws IOException
IOExceptionlong length()
throws IOException
OutputByteStream.OutputByteStream.IOExceptionboolean eof()
throws IOException
OutputByteStream at or beyond the
end of the underlying data.IOExceptionvoid close()
throws IOException
IOExceptionInputByteStream closeAndConvert() throws IOException
IOExceptionvoid flush()
throws IOException
IOExceptionSkippingOutputStream toOutputStream() throws IOException
IOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved