public class ExceptionInputStream
extends org.apache.commons.io.input.ProxyInputStream
InputStream
wrapper that throw an exception when the end of the
parent stream is reached.in
Constructor and Description |
---|
ExceptionInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
public ExceptionInputStream(InputStream in)
public int read() throws IOException
read
in class org.apache.commons.io.input.ProxyInputStream
IOException
public int read(byte[] b) throws IOException
read
in class org.apache.commons.io.input.ProxyInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class org.apache.commons.io.input.ProxyInputStream
IOException
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.