@Override
  public int read(byte[] b) throws IOException {
    checkState(InputStream.class);
    return ((InputStream)stream).read(b);
  }
@Override
  public int read(byte[] b) throws IOException {
    checkState(InputStream.class);
    return ((InputStream)stream).read(b);
  }
@ Override public int read ( byte [ ] b ) throws IOException { checkState ( InputStream . class ) ; return ( ( InputStream ) stream ) . read ( b ) ; }
InputStream
InputStream