org.apache.xml.security.stax.impl.util
Class LimitingInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.xml.security.stax.impl.util.LimitingInputStream
- All Implemented Interfaces:
- Closeable
public class LimitingInputStream
- extends FilterInputStream
- Version:
- $Revision: 1403039 $ $Date: 2012-10-28 16:55:54 +0000 (Sun, 28 Oct 2012) $
- Author:
- $Author: giger $
Method Summary |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LimitingInputStream
public LimitingInputStream(InputStream in,
long limit)
read
public int read()
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
read
public int read(byte[] b)
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
Copyright © 2000–2013 The Apache Software Foundation. All rights reserved.