com.zthread.libmpq
Class MPQ
java.lang.Object
com.zthread.libmpq.MPQ
public class MPQ
- extends java.lang.Object
|
Constructor Summary |
MPQ(java.lang.String archive)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MPQ
public MPQ(java.lang.String archive)
throws java.lang.Exception
- Throws:
java.lang.Exception
getLibraryVersion
public static java.lang.String getLibraryVersion()
getArchiveSize
public int getArchiveSize()
getHashTableSize
public int getHashTableSize()
getBlockTableSize
public int getBlockTableSize()
getBlockSize
public int getBlockSize()
getNumberOfFiles
public int getNumberOfFiles()
getCompressedSize
public int getCompressedSize()
getUncompressedSize
public int getUncompressedSize()
closeArchive
public int closeArchive()
getFileList
public java.lang.String[] getFileList()
throws java.lang.Exception
- Throws:
java.lang.Exception
getFile
public MPQFile getFile(java.lang.String fileName)
getFile
public MPQFile getFile(int file)