java.io.Closeable
, java.lang.AutoCloseable
class 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.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
public int available() throws java.io.IOException
available
in class java.io.FilterInputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
close
in class java.io.FilterInputStream
java.io.IOException
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.