⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filterinputstream.java

📁 《移动Agent技术》一书的所有章节源代码。
💻 JAVA
字号:
package java.io;

public class FilterInputStream
    extends InputStream {
  protected InputStream in;
  
  protected FilterInputStream(InputStream underlying) {
    in = underlying;
  }
  
  public int read() throws IOException {
    return in.read();
  }
  
  public int read(byte[] b) throws IOException {
    return read(b, 0, b.length);
  }
  
  public int read(byte[] b, int offset, int length) throws IOException {
    return in.read(b, offset, length);
  }
  
  public long skip(long n) throws IOException {
    return in.skip(n);
  }
  
  public int available() throws IOException {
    return in.available();
  }
  
  public void close() throws IOException {
    in.close();
  }
  
  public void mark(int readlimit) {
    in.mark(readlimit);
  }
  
  public void reset() throws IOException {
    in.reset();
  }
  
  public boolean markSupported() {
    return in.markSupported();
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -