|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.eclipse.birt.core.archive.RAInputStream
org.eclipse.birt.core.archive.compound.ArchiveEntryInputStream
public class ArchiveEntryInputStream
RAInputStream implementation based on the ArchiveEntry.
Method Summary | |
---|---|
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. |
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)
|
Methods inherited from class java.io.InputStream |
---|
close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public 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
in class RAInputStream
java.io.IOException
public long getOffset() throws java.io.IOException
getOffset
in class RAInputStream
java.io.IOException
public long length() throws java.io.IOException
length
in class RAInputStream
java.io.IOException
public void readFully(byte[] b, int off, int len) throws java.io.IOException
readFully
in class RAInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int readInt() throws java.io.IOException
readInt
in class RAInputStream
java.io.IOException
public long readLong() throws java.io.IOException
readLong
in class RAInputStream
java.io.IOException
public void refresh() throws java.io.IOException
refresh
in class RAInputStream
java.io.IOException
public void seek(long localPos) throws java.io.IOException
seek
in class RAInputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |