Class LimitedInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.webmethods.caf.common.io.LimitedInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class LimitedInputStream extends FilterInputStream
Filter input stream which allows only a specified number of bytes to be read (as if the stream only contained the specified number of bytes).