public abstract class CrailBufferedInputStream extends InputStream
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
abstract CrailInputStream |
getStream() |
long |
position() |
abstract void |
putStream() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] buf,
int off,
int len) |
int |
read(ByteBuffer dataBuf) |
int |
read(long position,
byte[] buffer,
int offset,
int length) |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
void |
seek(long pos) |
long |
skip(long n) |
mark, markSupported, resetpublic abstract CrailInputStream getStream() throws Exception
Exceptionpublic final int read()
throws IOException
read in class InputStreamIOExceptionpublic final int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic final int read(long position,
byte[] buffer,
int offset,
int length)
throws IOException
IOExceptionpublic final int read(byte[] buf,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic final int read(ByteBuffer dataBuf) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic void seek(long pos)
throws IOException
IOExceptionpublic int available()
available in class InputStreampublic long position()
Copyright © 2018 The Apache Software Foundation. All rights reserved.