| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final byte[] | |
| private int | |
| private static final byte[] | |
| private static final int | |
| pack-priv static final int | |
| private static final byte[] | |
| private static final int | |
| private static final byte[] | |
| private static final int | |
| private PrintStream | |
| private final int | |
| private final int | |
| private final int | |
| private int | |
| private int | |
| private final Lock |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | close()
Overrides java. Implements java. Closes this output stream and releases any system resources associated with this stream. |
| private void | |
| private void | |
| public void | flush()
Overrides java. Implements java. Flushes this output stream and forces any buffered output bytes to be written out. |
| private static byte[] | |
| private static int | |
| public void | |
| public int | |
| public void | write(byte[] b, int off, int len)
Overrides java. Writes |
| public void | write(int _b)
Implements abstract java. Writes the specified byte to this output stream. |
| buf | back to summary |
|---|---|
| private final byte[] buf | |
| completeHeader | back to summary |
|---|---|
| private final byte[] completeHeader | |
| count | back to summary |
|---|---|
| private int count | |
| CRLF | back to summary |
|---|---|
| private static final byte[] CRLF | |
| CRLF_SIZE | back to summary |
|---|---|
| private static final int CRLF_SIZE | |
| DEFAULT_CHUNK_SIZE | back to summary |
|---|---|
| pack-priv static final int DEFAULT_CHUNK_SIZE | |
| EMPTY_CHUNK_HEADER | back to summary |
|---|---|
| private static final byte[] EMPTY_CHUNK_HEADER | |
| EMPTY_CHUNK_HEADER_SIZE | back to summary |
|---|---|
| private static final int EMPTY_CHUNK_HEADER_SIZE | |
| FOOTER | back to summary |
|---|---|
| private static final byte[] FOOTER | |
| FOOTER_SIZE | back to summary |
|---|---|
| private static final int FOOTER_SIZE | |
| out | back to summary |
|---|---|
| private PrintStream out | |
| preferredChunkDataSize | back to summary |
|---|---|
| private final int preferredChunkDataSize | |
| preferredChunkGrossSize | back to summary |
|---|---|
| private final int preferredChunkGrossSize | |
| preferredHeaderSize | back to summary |
|---|---|
| private final int preferredHeaderSize | |
| size | back to summary |
|---|---|
| private int size | |
| spaceInCurrentChunk | back to summary |
|---|---|
| private int spaceInCurrentChunk | |
| writeLock | back to summary |
|---|---|
| private final Lock writeLock | |
| ChunkedOutputStream | back to summary |
|---|---|
| public ChunkedOutputStream(PrintStream o) | |
| ChunkedOutputStream | back to summary |
|---|---|
| public ChunkedOutputStream(PrintStream o, int size) | |
| checkError | back to summary |
|---|---|
| public boolean checkError() | |
| close | back to summary |
|---|---|
| public void close() Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources
associated with this stream. The general contract of
| |
| ensureOpen | back to summary |
|---|---|
| private void ensureOpen() throws IOException | |
| flush | back to summary |
|---|---|
| private void flush(boolean flushAll) | |
| 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. The general contract of If the intended destination of this stream is an abstraction provided by the underlying operating system, for example a file, then flushing the stream guarantees only that bytes previously written to the stream are passed to the operating system for writing; it does not guarantee that they are actually written to a physical device such as a disk drive.
| |
| getHeader | back to summary |
|---|---|
| private static byte[] getHeader(int size) | |
| getHeaderSize | back to summary |
|---|---|
| private static int getHeaderSize(int size) | |
| reset | back to summary |
|---|---|
| public void reset() | |
| size | back to summary |
|---|---|
| public int size() | |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |
| write | back to summary |
|---|---|
| public void write(int _b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |