com.zthread.libmpq
Class MPQ

java.lang.Object
  extended by com.zthread.libmpq.MPQ

public class MPQ
extends java.lang.Object


Constructor Summary
MPQ(java.lang.String archive)
           
 
Method Summary
 int closeArchive()
           
 int getArchiveSize()
           
 int getBlockSize()
           
 int getBlockTableSize()
           
 int getCompressedSize()
           
 MPQFile getFile(int file)
           
 MPQFile getFile(java.lang.String fileName)
           
 java.lang.String[] getFileList()
           
 int getHashTableSize()
           
static java.lang.String getLibraryVersion()
           
 int getNumberOfFiles()
           
 int getUncompressedSize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MPQ

public MPQ(java.lang.String archive)
    throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

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)