head 1.1; branch 1.1.1; access ; symbols DEVEL:1.1.1.1 HEAD:1.1.1; locks ; strict; comment @# @; 1.1 date 2001.03.16.18.13.14; author jallali; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.03.16.18.13.14; author jallali; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @

Overview | Package | Class | Tree | Deprecated | Index | Help
| EJCL Xtreme for PalmOS
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## java.io
Class OutputStream

    java.lang.Object
      |
      +--java.io.OutputStream

Direct Known Subclasses:
  ByteArrayOutputStream, FileOutputStream, FilterOutputStream

public abstract class OutputStream
extends Object

OutputStream is an abstract class for all byte output streams. It provides basic method implementations for writing bytes to a stream.

See Also:
  `InputStream`

Constructor Summary
`OutputStream()` This constructor does nothing interesting.

Method Summary
`void` | `close()` Close this OutputStream.
`void` | `flush()` Flush this OutputStream.
`void` | `write(byte[] buffer)` Writes the entire contents of the byte array `buffer` to this OutputStream.
`void` | `write(byte[] buffer, int offset, int count)` Writes `count` `bytes` from the byte array `buffer` starting at `offset` to this OutputStream.
`abstract void` | `write(int oneByte)` Writes the specified byte `oneByte` to this OutputStream.

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### OutputStream

    public OutputStream()

  This constructor does nothing interesting. Provided for signature compatibility.

Method Detail

### close

    public void close()
               throws IOException

  Close this OutputStream. Concrete implementations of this class should free any resources during close. This implementation does nothing.
  Throws:
    IOException - If an error occurs attempting to close this OutputStream.

### flush

    public void flush()
               throws IOException

  Flush this OutputStream. Concrete implementations of this class should ensure any pending writes to the underlying stream are written out when this method is envoked. This implementation does nothing.
  Throws:
    IOException - If an error occurs attempting to flush this OutputStream.

### write

    public void write(byte[] buffer)
               throws IOException

  Writes the entire contents of the byte array `buffer` to this OutputStream.
  Parameters:
    `buffer` - the buffer to be written
  Throws:
    IOException - If an error occurs attempting to write to this OutputStream.

### write

    public void write(byte[] buffer,
                      int offset,
                      int count)
               throws IOException

  Writes `count` `bytes` from the byte array `buffer` starting at `offset` to this OutputStream.
  Parameters:
    `buffer` - the buffer to be written
    `offset` - offset in buffer to get bytes
    `count` - number of bytes in buffer to write
  Throws:
    IOException - If an error occurs attempting to write to this OutputStream.
    java.lang.ArrayIndexOutOfBoundsException - If offset or count are outside of bounds.

### write

    public abstract void write(int oneByte)
                        throws IOException

  Writes the specified byte `oneByte` to this OutputStream. Only the low order byte of `oneByte` is written.
  Parameters:
    `oneByte` - the byte to be written
  Throws:
    IOException - If an error occurs attempting to write to this OutputStream.

Overview | Package | Class | Tree | Deprecated | Index | Help
| EJCL Xtreme for PalmOS
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

@ 1.1.1.1 log @import initial @ text @@