public class PrereadInputStream extends InputStream
| 构造器和说明 |
|---|
PrereadInputStream(InputStream input,
int maxCount) |
public PrereadInputStream(InputStream input, int maxCount) throws IOException
IOExceptionpublic int read()
throws IOException
read 在类中 InputStreamIOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
read 在类中 InputStreamIOExceptionpublic int read(byte[] buf)
throws IOException
read 在类中 InputStreamIOExceptionpublic byte[] heads()
public long skip(long n)
throws IOException
skip 在类中 InputStreamIOExceptionpublic int available()
throws IOException
available 在类中 InputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOException@Deprecated public void mark(int readLimit)
mark 在类中 InputStreampublic void reset()
throws IOException
reset 在类中 InputStreamIOExceptionpublic boolean markSupported()
markSupported 在类中 InputStreamCopyright © 2023. All rights reserved.