net.sourceforge.neurosdbm.db
Class Rule
java.lang.Object
net.sourceforge.neurosdbm.db.Rule
- class Rule
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ptrToName
private WordPointerToDisplayData ptrToName
ptrToFilename
private WordPointerToWordString ptrToFilename
name
private DisplayData name
filename
private WordString filename
wordLength
private int wordLength
Rule
Rule(java.nio.ByteBuffer bytes,
int wordOffset)
Rule
Rule(WordPointerToDisplayData ptrToName,
WordPointerToWordString ptrToFilename,
DisplayData name,
WordString filename)
Rule
Rule(DisplayData name,
WordString filename)
getWordLength
int getWordLength()
setPointers
void setPointers(long wordOffset)
- Sets the pointers of the rules based on computated lengths of the
MDB header.
- Parameters:
wordOffset
- The value of the ptrToName in words
getDataLength
int getDataLength()
getName
DisplayData getName()
getFilename
WordString getFilename()
writePtrs
void writePtrs(NIOFile file)
throws java.io.IOException
- Throws:
java.io.IOException
writeData
void writeData(NIOFile file)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
Copyright © 2004 NeurosDBM Dev Team All Rights Reserved.