java.io.Closeable, java.lang.AutoCloseableclass CloseFilterInputStream
extends java.io.FilterInputStream
| Modifier and Type | Field | Description |
|---|---|---|
private static java.lang.String |
ALREADY_CLOSED_ERR_MESSAGE |
|
private boolean |
closed |
| Constructor | Description |
|---|---|
CloseFilterInputStream(java.io.InputStream is) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
available() |
|
void |
close() |
|
int |
read() |
|
int |
read(byte[] b) |
|
int |
read(byte[] b,
int off,
int len) |
|
long |
skip(long n) |
private static final java.lang.String ALREADY_CLOSED_ERR_MESSAGE
private boolean closed
public int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.FilterInputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.FilterInputStreamjava.io.IOExceptionApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.