classpath: Closeable & Flushable

This commit is contained in:
Pierre Carrier
2012-11-04 01:56:06 +01:00
parent 33fed1b710
commit be952acbcb
6 changed files with 36 additions and 4 deletions

View File

@ -10,7 +10,7 @@
package java.io;
public abstract class OutputStream {
public abstract class OutputStream implements Closeable, Flushable {
public abstract void write(int c) throws IOException;
public void write(byte[] buffer) throws IOException {