org.gamenet.application.mm8leveleditor.mm6
Class MM6NewLodFile
java.lang.Object
com.mmbreakfast.unlod.lod.LodFile
org.gamenet.application.mm8leveleditor.mm6.MM6NewLodFile
- public class MM6NewLodFile
- extends LodFile
Methods inherited from class com.mmbreakfast.unlod.lod.LodFile |
findLodEntryByFileName, findLodEntryForFile, getFile, getFileHeader, getFileHeaderSizeOffset, getFileName, getFileSizeMinusFileHeaderSizeOffset, getLodEntries, getNextEntry, getRandomAccessFileInputStream, readEntries, readEntryCount, readFileHeader, updateByAppendingData, verify, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEADER_OFFSET
protected static final long HEADER_OFFSET
- See Also:
- Constant Field Values
ENTRY_HEADER_LENGTH
protected static final long ENTRY_HEADER_LENGTH
- See Also:
- Constant Field Values
ENTRIES_NUMBER_OFFSET
protected static final long ENTRIES_NUMBER_OFFSET
- See Also:
- Constant Field Values
SIGNATURE_NEW
protected static final int[] SIGNATURE_NEW
SIGNATURE_GAME
protected static final int[] SIGNATURE_GAME
MM6NewLodFile
public MM6NewLodFile(File file,
RandomAccessFileInputStream randomaccessfileinputstream)
throws IOException,
InvalidLodFileException
verifySignature
protected void verifySignature(RandomAccessFile randomaccessfile)
throws IOException,
InvalidLodFileException
- Overrides:
verifySignature
in class LodFile
- Throws:
IOException
InvalidLodFileException
getLodEntryByName
public LodEntry getLodEntryByName(String targetName)
throws NoSuchEntryException
- Throws:
NoSuchEntryException
getHeaderOffset
public long getHeaderOffset()
- Specified by:
getHeaderOffset
in class LodFile
getEntryHeaderLength
public long getEntryHeaderLength()
- Specified by:
getEntryHeaderLength
in class LodFile
getEntryClass
public Class getEntryClass()
- Specified by:
getEntryClass
in class LodFile
getEntriesNumberOffset
public long getEntriesNumberOffset()
- Specified by:
getEntriesNumberOffset
in class LodFile