pygmy.core
Class InternetInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.PushbackInputStream
              extended by pygmy.core.InternetInputStream
All Implemented Interfaces:
java.io.Closeable
Direct Known Subclasses:
NntpInputStream

public class InternetInputStream
extends java.io.PushbackInputStream


Field Summary
 
Fields inherited from class java.io.PushbackInputStream
buf, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
InternetInputStream(java.io.InputStream in)
           
InternetInputStream(java.io.InputStream in, int size)
           
 
Method Summary
 java.lang.StringBuffer readBuffer()
           
 java.lang.String readline()
           
 
Methods inherited from class java.io.PushbackInputStream
available, close, mark, markSupported, read, read, reset, skip, unread, unread, unread
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternetInputStream

public InternetInputStream(java.io.InputStream in,
                           int size)

InternetInputStream

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

readline

public java.lang.String readline()
                          throws java.io.IOException
Throws:
java.io.IOException

readBuffer

public java.lang.StringBuffer readBuffer()
                                  throws java.io.IOException
Throws:
java.io.IOException