more classpath progress

This commit is contained in:
Joel Dice
2007-07-28 19:29:01 -06:00
parent c96a4a5b39
commit a9e10d1c7f
22 changed files with 550 additions and 13 deletions

View File

@ -0,0 +1,19 @@
package java.io;
public abstract class Writer {
public void write(int c) throws IOException {
char[] buffer = new char[] { (char) c };
write(buffer);
}
public void write(char[] buffer) throws IOException {
write(buffer, 0, buffer.length);
}
public abstract void write(char[] buffer, int offset, int length)
throws IOException;
public abstract void flush() throws IOException;
public abstract void close() throws IOException;
}