public class LengthInputStream extends FilterInputStream
in| Constructor and Description |
|---|
LengthInputStream(InputStream in) |
public LengthInputStream(InputStream in) throws IOException
IOExceptionpublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long getLength()
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.