|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.md2.pak.PAKListing
public class PAKListing
The directory listing from inside a Quake 2 PAK file.
| Constructor Summary | |
|---|---|
PAKListing(PAKHeader header,
byte[] totalData)
Creates new PAKListing. |
|
| Method Summary | |
|---|---|
int |
getFileLength(java.lang.String name)
Retrieves the length of a given file. |
java.util.List<java.lang.String> |
getFilenames()
|
int |
getFileOffset(java.lang.String name)
Retrieves the offset to a given file name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PAKListing(PAKHeader header,
byte[] totalData)
throws java.io.IOException
header - The PAK header of this filetotalData - The file to read the listing from
java.io.IOException| Method Detail |
|---|
public java.util.List<java.lang.String> getFilenames()
public int getFileOffset(java.lang.String name)
public int getFileLength(java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||