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.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterInputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.FilterInputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.FilterInputStream
java.io.IOException
private void checkIfClosed() throws java.io.IOException
java.io.IOException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.