org.wymiwyg.commons.util.io
Class GreedyPreReadingInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.wymiwyg.commons.util.io.GreedyPreReadingInputStream
All Implemented Interfaces:
Closeable

public class GreedyPreReadingInputStream
extends InputStream

Author:
reto

Nested Class Summary
 class GreedyPreReadingInputStream.StreamFinishedException
           
 
Constructor Summary
GreedyPreReadingInputStream(InputStream base)
           
 
Method Summary
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreedyPreReadingInputStream

public GreedyPreReadingInputStream(InputStream base)
Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException


Copyright © 2011. All Rights Reserved.