com.nostra13.universalimageloader.core.assist
Class FlushedInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.BufferedInputStream
              extended by com.nostra13.universalimageloader.core.assist.FlushedInputStream
All Implemented Interfaces:
Closeable

public class FlushedInputStream
extends BufferedInputStream

Many streams obtained over slow connection show this problem.


Field Summary
 
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
FlushedInputStream(InputStream inputStream)
           
FlushedInputStream(InputStream inputStream, int size)
           
 
Method Summary
 long skip(long n)
           
 
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset
 
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

FlushedInputStream

public FlushedInputStream(InputStream inputStream)

FlushedInputStream

public FlushedInputStream(InputStream inputStream,
                          int size)
Method Detail

skip

public long skip(long n)
          throws IOException
Overrides:
skip in class BufferedInputStream
Throws:
IOException


Copyright © 2011-2013. All Rights Reserved.