public class LengthInputStream extends FilterInputStream
in| Constructor and Description | 
|---|
| LengthInputStream(InputStream in,
                 long length)Create an stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getLength() | 
| InputStream | getWrappedStream() | 
available, close, mark, markSupported, read, read, read, reset, skippublic LengthInputStream(InputStream in, long length)
in - the underlying input stream.length - the length of the stream.public long getLength()
public InputStream getWrappedStream()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.