@Test public void testMarkSupported() { final LimitedInputStream lis = new LimitedInputStream(bais, 6); assertEquals(bais.markSupported(), lis.markSupported()); }
@Override public boolean markSupported() { return in.markSupported(); }
LimitedInputStream extends InputStream { @Override public boolean markSupported() { return in.markSupported(); } }
LimitedInputStream extends InputStream { @Override public boolean markSupported() { return in.markSupported(); } LimitedInputStream(final InputStream in, final long limit); }
LimitedInputStream extends InputStream { @Override public boolean markSupported() { return in.markSupported(); } LimitedInputStream(final InputStream in, final long limit); @Override int read(); @Override int read(final byte[] b); @Override int read(byte[] b, int off, int len); @Override long skip(final long n); @Override int available(); @Override void close(); @Override void mark(int readlimit); @Override boolean markSupported(); @Override void reset(); }
LimitedInputStream extends InputStream { @Override public boolean markSupported() { return in.markSupported(); } LimitedInputStream(final InputStream in, final long limit); @Override int read(); @Override int read(final byte[] b); @Override int read(byte[] b, int off, int len); @Override long skip(final long n); @Override int available(); @Override void close(); @Override void mark(int readlimit); @Override boolean markSupported(); @Override void reset();  }