public class FixedSizeInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
FixedSizeInputStream(java.io.InputStream source,
long length) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
public FixedSizeInputStream(java.io.InputStream source,
long length)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.