public class CloseFilterInputStream
extends java.io.FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
private boolean |
closed
Tells if this stream has been closed.
|
private static java.lang.String |
MESSAGE
Message, modeled after CloseFilterInputStream in the client.
|
| Constructor and Description |
|---|
CloseFilterInputStream(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
private void |
checkIfClosed()
Throws exception if this stream has been closed.
|
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 MESSAGE
private boolean closed
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterInputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.FilterInputStreamjava.io.IOExceptionpublic 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.IOExceptionprivate void checkIfClosed()
throws java.io.IOException
java.io.IOExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.