org.xwt.util
Class KnownLength.KnownLengthInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byorg.xwt.util.KnownLength.KnownLengthInputStream
All Implemented Interfaces:
KnownLength
Enclosing class:
KnownLength

public static class KnownLength.KnownLengthInputStream
extends java.io.FilterInputStream
implements KnownLength


Nested Class Summary
 
Nested classes inherited from class org.xwt.util.KnownLength
KnownLength.KnownLengthInputStream
 
Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
KnownLength.KnownLengthInputStream(java.io.InputStream parent, int length)
           
 
Method Summary
 int getLength()
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnownLength.KnownLengthInputStream

public KnownLength.KnownLengthInputStream(java.io.InputStream parent,
                                          int length)
Method Detail

getLength

public int getLength()
Specified by:
getLength in interface KnownLength