SK.gnome.dwarf.mail.utils
Class MessageInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byjava.io.PushbackInputStream
              extended bySK.gnome.dwarf.mail.utils.MessageInputStream

public class MessageInputStream
extends java.io.PushbackInputStream

Convert lines from the byte-stuffed format.

The filtered data must use the CRLF sequence as line separator.


Field Summary
 
Fields inherited from class java.io.PushbackInputStream
buf, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
MessageInputStream(java.io.InputStream in)
           
 
Method Summary
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.PushbackInputStream
available, close, markSupported, skip, unread, unread, unread
 
Methods inherited from class java.io.FilterInputStream
mark, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageInputStream

public MessageInputStream(java.io.InputStream in)
Method Detail

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(byte[] b)
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Throws:
java.io.IOException


Copyright (c) 2004-2005, Gnome Ltd. All rights reserved.