Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.james.mime4j.io
Class LineReaderInputStream

    java.lang.Object
      java.io.InputStream
          java.io.FilterInputStream
              org.apache.james.mime4j.io.LineReaderInputStream

All Implemented Interfaces:
  java.io.Closeable

Direct Known Subclasses:
  BufferedLineReaderInputStream, LineReaderInputStreamAdaptor, MimeBoundaryInputStream

    public abstract class LineReaderInputStream

extends java.io.FilterInputStream

Input stream capable of reading lines of text.

Field Summary

Fields inherited from class java.io.FilterInputStream
`in`

Constructor Summary
`protected` | `LineReaderInputStream(java.io.InputStream in)`

Method Summary
`abstract int` | `readLine(ByteArrayBuffer dst)` Reads one line of text into the given `ByteArrayBuffer`.

Methods inherited from class java.io.FilterInputStream
`available, close, mark, markSupported, read, read, read, reset, skip`

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

Constructor Detail

### LineReaderInputStream

    protected LineReaderInputStream(java.io.InputStream in)

Method Detail

### readLine

    public abstract int readLine(ByteArrayBuffer dst)
                          throws java.io.IOException

  Reads one line of text into the given `ByteArrayBuffer`.

  Parameters:
    `dst` - Destination
  Returns:
    number of bytes copied or `-1` if the end of the stream has been reached.
  Throws:
    `java.io.IOException` - in case of an I/O error.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.