public void write (int c) throws IOException; //将整型值c的低16位写入输出流 public void write (char cbuf[]) throws IOException; //将字符数组cbuf[]写入输出流 public abstract void write (char cbuf[], int off, int len) throws IOException; //将字符数组cbuf[]中的从索引为off的位置处开始的len个字符写入输出流 public void write (String str) throws IOException; //将字符串str中的字符写入输出流 public void write (String str, int off, int len) throws IOException; //将字符串str 中从索引off开始处的len个字符写入输出流