|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.io.formats.ObjectDatafile
com.partnersoft.v3x.apps.MapBrowser.locate.PointDatafile
public class PointDatafile
A datafile for named X, Y points.
| Constructor Summary | |
|---|---|
PointDatafile(java.lang.String filename)
|
|
| Method Summary | |
|---|---|
protected int |
compareImp(java.io.RandomAccessFile filet,
long seekA,
long seekB)
Subclasses may override this to compare two records directly. |
protected int |
compareImp(java.io.RandomAccessFile filet,
java.lang.Object key)
Subclasses may override this to compare the seeked-to record to a key. |
protected java.lang.Object |
readKeyImp(java.io.RandomAccessFile filet)
Subclasses may override this to read the key for a record. |
protected void |
readRecordImp(java.lang.Object recycleMe,
java.io.RandomAccessFile filet)
Subclasses must override this to read an object from the fixed-length format, given an object to put the results into. |
protected java.lang.Object |
readRecordImp(java.io.RandomAccessFile filet)
Subclasses must override this to read an object from the fixed-length format. |
protected void |
writeRecordImp(java.lang.Object source,
java.io.RandomAccessFile filet)
Subclasses must override this to write out the object in the desired form. |
| Methods inherited from class com.partnersoft.v3x.io.formats.ObjectDatafile |
|---|
appendRecord, clear, close, compare, compare, findClosest, getFile, getHeaderSize, getRecordSize, getSize, openRead, openWrite, readHeader, readHeaderImp, readKey, readRecord, readRecord, search, setHeaderSize, setRecordSize, sort, writeHeader, writeHeaderImp, writeRecord |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointDatafile(java.lang.String filename)
| Method Detail |
|---|
protected void writeRecordImp(java.lang.Object source,
java.io.RandomAccessFile filet)
throws java.io.IOException
ObjectDatafile
writeRecordImp in class ObjectDatafilejava.io.IOException
protected java.lang.Object readRecordImp(java.io.RandomAccessFile filet)
throws java.io.IOException
ObjectDatafile
readRecordImp in class ObjectDatafilejava.io.IOException
protected void readRecordImp(java.lang.Object recycleMe,
java.io.RandomAccessFile filet)
throws java.io.IOException
ObjectDatafileThe RandomAccessFile is advanced to the correct spot; just read away.
readRecordImp in class ObjectDatafilejava.io.IOException
protected java.lang.Object readKeyImp(java.io.RandomAccessFile filet)
throws java.io.IOException
ObjectDatafile
readKeyImp in class ObjectDatafilejava.io.IOException
protected int compareImp(java.io.RandomAccessFile filet,
long seekA,
long seekB)
throws java.io.IOException
ObjectDatafile
compareImp in class ObjectDatafilejava.io.IOException
protected int compareImp(java.io.RandomAccessFile filet,
java.lang.Object key)
throws java.io.IOException
ObjectDatafile
compareImp in class ObjectDatafilejava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||