lapisx.net
Class ContentTypeGuessingReader

java.lang.Object
  extended byjava.io.Reader
      extended bylapisx.net.ContentTypeGuessingReader

public class ContentTypeGuessingReader
extends Reader


Field Summary
static Debug debug
           
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
ContentTypeGuessingReader(Reader in)
           
 
Method Summary
 void close()
           
 String getContentType()
           
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read()
           
 int read(char[] b)
           
 int read(char[] b, int off, int len)
           
 boolean ready()
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public static Debug debug
Constructor Detail

ContentTypeGuessingReader

public ContentTypeGuessingReader(Reader in)
                          throws IOException
Method Detail

getContentType

public String getContentType()

read

public int read()
         throws IOException
Throws:
IOException

read

public int read(char[] b)
         throws IOException
Throws:
IOException

read

public int read(char[] b,
                int off,
                int len)
         throws IOException
Throws:
IOException

skip

public long skip(long n)
          throws IOException
Throws:
IOException

ready

public boolean ready()
              throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

mark

public void mark(int readlimit)

reset

public void reset()
           throws IOException
Throws:
IOException

markSupported

public boolean markSupported()