org.opengts.util
Class HTMLTools.HttpBufferedInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.BufferedInputStream
              extended by org.opengts.util.HTMLTools.HttpBufferedInputStream
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
HTMLTools

public static class HTMLTools.HttpBufferedInputStream
extends java.io.BufferedInputStream

A BufferedInputStream class that retains a handle to the HttpURLConnection instance


Field Summary
 
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
HTMLTools.HttpBufferedInputStream(java.net.HttpURLConnection httpConnect)
           
 
Method Summary
 void close()
           
 java.net.HttpURLConnection getHttpURLConnection()
           
 
Methods inherited from class java.io.BufferedInputStream
available, mark, markSupported, read, read, reset, skip
 
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

HTMLTools.HttpBufferedInputStream

public HTMLTools.HttpBufferedInputStream(java.net.HttpURLConnection httpConnect)
                                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getHttpURLConnection

public java.net.HttpURLConnection getHttpURLConnection()

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.BufferedInputStream
Throws:
java.io.IOException