|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xwt.util.CAB
Reads a CAB file structure
Nested Class Summary | |
static class |
CAB.CABException
|
static class |
CAB.CFFILE
Encapsulates a CFFILE entry |
static class |
CAB.CFFOLDER
Encapsulates a CFFOLDER entry |
static class |
CAB.CFHEADER
Encapsulates a CFHEADER entry |
Constructor Summary | |
CAB()
|
Method Summary | |
static java.io.InputStream |
getFileInputStream(java.io.InputStream is,
int skipHeaders,
java.lang.String fileName)
|
static java.io.InputStream |
getFileInputStream(java.io.InputStream is,
java.lang.String fileName)
reads a CAB file, parses it, and returns an InputStream representing the named file |
static byte[] |
isToByteArray(java.io.InputStream is)
Trivial method to completely read an InputStream |
static int |
readLittleInt(java.io.DataInputStream dis)
|
static int |
readLittleShort(java.io.DataInputStream dis)
|
static java.lang.String |
readZeroTerminatedString(java.io.DataInputStream dis)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CAB()
Method Detail |
public static java.io.InputStream getFileInputStream(java.io.InputStream is, java.lang.String fileName) throws java.io.IOException, java.io.EOFException
java.io.IOException
java.io.EOFException
public static java.io.InputStream getFileInputStream(java.io.InputStream is, int skipHeaders, java.lang.String fileName) throws java.io.IOException, java.io.EOFException
java.io.IOException
java.io.EOFException
public static java.lang.String readZeroTerminatedString(java.io.DataInputStream dis) throws java.io.IOException
java.io.IOException
public static int readLittleInt(java.io.DataInputStream dis) throws java.io.IOException
java.io.IOException
public static int readLittleShort(java.io.DataInputStream dis) throws java.io.IOException
java.io.IOException
public static byte[] isToByteArray(java.io.InputStream is) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |