nwnintf.format.itp
Class ItpEntry
java.lang.Object
|
+--nwnintf.format.itp.ItpEntry
- public class ItpEntry
- extends java.lang.Object
Represent an "entry" in the itp file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIZE
public static int SIZE
CODE
public static int CODE
INDEXOROFFSET
public static int INDEXOROFFSET
NELTS
public static int NELTS
ItpEntry
public ItpEntry(ItpFile f)
read
public void read(byte[] bytes,
int offset,
int multimapoffset)
element
public ItpElement element(int eltidx)
element
public ItpElement element(java.lang.String name)
length
public int length()
addElement
public void addElement(ItpElement elt)
- Add a new element.
Remember to add it to the ItpFile as well.
removeChildren
public void removeChildren()
write
public void write(ItpWriter w)
throws java.io.IOException
java.io.IOException