| Modifier and Type | Field and Description |
|---|---|
| private ByteArrayOutputStream2 | |
| private byte[] | |
| private boolean | |
| private int | |
| private OutputStreamWriter |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | close()
Implements abstract java. Implements java. |
| public void | |
| public void | |
| public void | flush()
Implements abstract java. Implements java. |
| public byte[] | |
| public byte[] | |
| public Object | |
| public void | |
| public void | |
| public int | |
| public int | |
| public void | |
| public void | write(char[]
Array of characters to be written ca)Overrides java. |
| public void | write(char[]
Array of characters ca, int Offset from which to start writing characters offset, int Number of characters to write length)Implements abstract java. |
| public void | |
| public void | write(String
A String s, int Offset from which to start writing characters offset, int Number of characters to write length)Overrides java. |
| private void | |
| public void |
| _bout | back to summary |
|---|---|
| private ByteArrayOutputStream2 _bout | |
| _buf | back to summary |
|---|---|
| private byte[] _buf | |
| _fixed | back to summary |
|---|---|
| private boolean _fixed | |
| _size | back to summary |
|---|---|
| private int _size | |
| _writer | back to summary |
|---|---|
| private OutputStreamWriter _writer | |
| ByteArrayISO8859Writer | back to summary |
|---|---|
| public ByteArrayISO8859Writer() Constructor. | |
| ByteArrayISO8859Writer | back to summary |
|---|---|
| public ByteArrayISO8859Writer(int capacity) Constructor.
| |
| ByteArrayISO8859Writer | back to summary |
|---|---|
| public ByteArrayISO8859Writer(byte[] buf) | |
| capacity | back to summary |
|---|---|
| public int capacity() | |
| close | back to summary |
|---|---|
| public void close() Implements abstract java. Implements java. Doc from java. Closes the stream, flushing it first. Once the stream has been closed, further write() or flush() invocations will cause an IOException to be thrown. Closing a previously closed stream has no effect. | |
| destroy | back to summary |
|---|---|
| public void destroy() | |
| ensureSpareCapacity | back to summary |
|---|---|
| public void ensureSpareCapacity(int n) throws IOException | |
| flush | back to summary |
|---|---|
| public void flush() Implements abstract java. Implements java. Doc from java. Flushes the stream. If the stream has saved any characters from the various write() methods in a buffer, write them immediately to their intended destination. Then, if that destination is another character or byte stream, flush it. Thus one flush() invocation will flush all the buffers in a chain of Writers and OutputStreams. 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. | |
| getBuf | back to summary |
|---|---|
| public byte[] getBuf() | |
| getByteArray | back to summary |
|---|---|
| public byte[] getByteArray() | |
| getLock | back to summary |
|---|---|
| public Object getLock() | |
| resetWriter | back to summary |
|---|---|
| public void resetWriter() | |
| setLength | back to summary |
|---|---|
| public void setLength(int l) | |
| size | back to summary |
|---|---|
| public int size() | |
| spareCapacity | back to summary |
|---|---|
| public int spareCapacity() | |
| write | back to summary |
|---|---|
| public void write(char c) throws IOException | |
| write | back to summary |
|---|---|
| public void write(char[] ca) throws IOException Overrides java. Doc from java. Writes an array of characters.
| |
| write | back to summary |
|---|---|
| public void write(char[] ca, int offset, int length) throws IOException Implements abstract java. Doc from java. Writes a portion of an array of characters.
| |
| write | back to summary |
|---|---|
| public void write(String s) throws IOException Overrides java. Doc from java. Writes a string.
| |
| write | back to summary |
|---|---|
| public void write(String s, int offset, int length) throws IOException Overrides java. Doc from java. Writes a portion of a string.
| |
| writeEncoded | back to summary |
|---|---|
| private void writeEncoded(char[] ca, int offset, int length) throws IOException | |
| writeTo | back to summary |
|---|---|
| public void writeTo(OutputStream out) throws IOException | |