public class AutoCloseInputStream extends InputStream
| 构造器和说明 |
|---|
AutoCloseInputStream(InputStream in)
Create a new input stream.
|
public AutoCloseInputStream(InputStream in)
in - the input streampublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read 在类中 InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read 在类中 InputStreamIOExceptionpublic int read()
throws IOException
read 在类中 InputStreamIOExceptionCopyright © 2017. All rights reserved.