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 InputStream {
public abstract class InputStream implements Closeable {
public abstract int read() throws IOException;
public int read(byte[] buffer) throws IOException {