com.partnersoft.v3x.apps.MapBrowser.locate
Class FindItemFileDump
java.lang.Object
com.partnersoft.v3x.io.formats.PackedNamedRandomAccessObjectDump
com.partnersoft.v3x.apps.MapBrowser.locate.FindItemFileDump
- All Implemented Interfaces:
- FindItemDump
public class FindItemFileDump
- extends PackedNamedRandomAccessObjectDump
- implements FindItemDump
A "find item" dump file, containing named (x, y) pairs.
|
Constructor Summary |
FindItemFileDump(java.lang.String name,
java.io.File dumpFile)
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindItemFileDump
public FindItemFileDump(java.lang.String name,
java.io.File dumpFile)
throws java.io.IOException
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] argv)
readObjectImp
protected java.lang.Object readObjectImp(java.lang.String name,
java.io.RandomAccessFile filet)
throws java.io.IOException
- Override this to provide custom reading of your data. The file is open to
the correct position.
- Specified by:
readObjectImp in class PackedNamedRandomAccessObjectDump
- Throws:
java.io.IOException
fetchItem
public FoundItem fetchItem(int index)
- Specified by:
fetchItem in interface FindItemDump
fetchItem
public FoundItem fetchItem(java.lang.String key)
- Specified by:
fetchItem in interface FindItemDump
addChangeListener
public void addChangeListener(javax.swing.event.ChangeListener lisner)
- Specified by:
addChangeListener in interface FindItemDump
removeChangeListener
public void removeChangeListener(javax.swing.event.ChangeListener lisner)
- Specified by:
removeChangeListener in interface FindItemDump