filterreader.java

来自「kaffe是一个java虚拟机的源代码。里面包含了一些java例程和标准的jav」· Java 代码 · 共 69 行

JAVA
69
字号
/* * Java core library component. * * Copyright (c) 1997, 1998 *      Transvirtual Technologies, Inc.  All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. */package java.io;public abstract class FilterReader extends Reader {  protected Reader in;  protected FilterReader(Reader i)  {    /* Empiric evidence shows that JDK 1.1 - 1.3      * set lock to i. This also takes care of the      * i == null case.     */    super(i);    in = i;  }  public int read() throws IOException  {    return (in.read());  }  public int read(char cbuf[], int off, int len) throws IOException  {    return (in.read(cbuf, off, len));  }  public long skip(long n) throws IOException  {    return (in.skip(n));  }  public boolean ready() throws IOException  {    return (in.ready());  }  public boolean markSupported()  {    return (in.markSupported());  }  public void mark(int readAheadLimit) throws IOException  {    in.mark(readAheadLimit);  }  public void reset() throws IOException  {    in.reset();  }  public void close() throws IOException  {    in.close();  }}

⌨️ 快捷键说明

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