class LimitedInputStream extends InputStream {

    @Override
    public void close() throws IOException {
        in.close();
    }

    public  LimitedInputStream(final InputStream in, final long limit);

}