public class NullOutputByteStream extends Object
EOF| Constructor and Description |
|---|
NullOutputByteStream()
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.
|
public NullOutputByteStream()
public void write(int b)
throws IOException
write in interface OutputByteStreamIOExceptionpublic void write(byte[] bytes,
int offset,
int length)
throws IOException
OutputByteStreamwrite in interface OutputByteStreambytes - The source array.offset - The offset in the byte array to begin writing from.length - The number of bytes to write.IOExceptionpublic long length()
throws IOException
OutputByteStreamOutputByteStream.OutputByteStream.IOExceptionpublic void close()
throws IOException
OutputByteStreamIOExceptionpublic void flush()
throws IOException
OutputByteStreamIOExceptionpublic void write(byte[] bytes)
throws IOException
OutputByteStreamwrite in interface OutputByteStreambytes - The source array.IOExceptionpublic OutputByteStream seek(long position) throws IOException
seek in interface OutputByteStreamposition - Where to set the current position.IOExceptionpublic long getPosition()
throws IOException
OutputByteStreamgetPosition in interface OutputByteStreamIOExceptionpublic boolean eof()
throws IOException
OutputByteStreamOutputByteStream at or beyond the
end of the underlying data.eof in interface OutputByteStreamIOExceptionpublic SkippingOutputStream toOutputStream() throws IOException
OutputByteStreamtoOutputStream in interface OutputByteStreamIOExceptionpublic InputByteStream closeAndConvert() throws IOException
OutputByteStreamcloseAndConvert in interface OutputByteStreamIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved