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.| Constructor and Description |
|---|
ExceptionInputStream(java.io.InputStream in) |
public int read()
throws java.io.IOException
read in class org.apache.commons.io.input.ProxyInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class org.apache.commons.io.input.ProxyInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class org.apache.commons.io.input.ProxyInputStreamjava.io.IOExceptionCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.