public class ArchiveEntryInputStream extends RAInputStream
| 限定符和类型 | 方法和说明 |
|---|---|
int |
available()
Returns the number of bytes that can be read (or skipped over) from this
random access input stream without blocking by the next caller of a
method for this input stream.
|
void |
close() |
long |
getOffset() |
long |
length() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
readFully(byte[] b,
int off,
int len) |
int |
readInt() |
long |
readLong() |
void |
refresh() |
void |
seek(long localPos) |
public void close()
throws java.io.IOException
close 在接口中 java.io.Closeableclose 在接口中 java.lang.AutoCloseableclose 在类中 java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read 在类中 java.io.InputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
RAInputStream
This abstract class is extended by RAFolderInputStream and
RAFileInputStream
The available method returns -1 when no
more data because the end of the stream has been reached.
and returns Integer.MAX_VALUE when bytes of data is larger
then Integer.MAX_VALUE.
available 在类中 RAInputStreamjava.io.IOExceptionpublic long getOffset()
throws java.io.IOException
getOffset 在类中 RAInputStreamjava.io.IOExceptionpublic long length()
throws java.io.IOException
length 在类中 RAInputStreamjava.io.IOExceptionpublic void readFully(byte[] b,
int off,
int len)
throws java.io.IOException
readFully 在类中 RAInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read 在类中 java.io.InputStreamjava.io.IOExceptionpublic int readInt()
throws java.io.IOException
readInt 在类中 RAInputStreamjava.io.IOExceptionpublic long readLong()
throws java.io.IOException
readLong 在类中 RAInputStreamjava.io.IOExceptionpublic void refresh()
throws java.io.IOException
refresh 在类中 RAInputStreamjava.io.IOExceptionpublic void seek(long localPos)
throws java.io.IOException
seek 在类中 RAInputStreamjava.io.IOExceptionCopyright © 2008 Actuate Corp. All rights reserved.