| Modifier and Type | Field and Description |
|---|---|
| private RandomAccess | |
| private final List | |
| private final COSDictionary | |
| private final RandomAccessStreamCache |
| Access | Constructor and Description |
|---|---|
| pack-priv | COSOutputStream(List<Filter>
Filters to apply. filters, COSDictionary Filter parameters. parameters, OutputStream Encoded stream. output, RandomAccessStreamCache Stream cache to use. streamCache)Creates a new COSOutputStream writes to an encoded COS stream. |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Closes this output stream and releases any system resources associated with the stream. |
| public void | flush()
Overrides java. Implements java. Flushes this output stream and forces any buffered output bytes to be written out to the stream. |
| public void | write(byte[]
the data to be written. b)Overrides java. Writes |
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. Writes |
| public void | write(int
the b)byte.Overrides java. Writes the specified |
| buffer | back to summary |
|---|---|
| private RandomAccess buffer | |
| filters | back to summary |
|---|---|
| private final List<Filter> filters | |
| parameters | back to summary |
|---|---|
| private final COSDictionary parameters | |
| streamCache | back to summary |
|---|---|
| private final RandomAccessStreamCache streamCache | |
| COSOutputStream | back to summary |
|---|---|
| pack-priv COSOutputStream(List<Filter> filters, COSDictionary parameters, OutputStream output, RandomAccessStreamCache streamCache) throws IOException Creates a new COSOutputStream writes to an encoded COS stream.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources associated with the stream.
| |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Overrides java. Implements java. Doc from java. Flushes this output stream and forces any buffered output bytes to be written out to the stream.
| |
| write | back to summary |
|---|---|
| public void write(byte[] b) throws IOException Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Overrides java. Doc from java. Writes the specified
The
Implements the abstract
| |