|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.javaseis.io.ExtentListEntry
public class ExtentListEntry
| Field Summary | |
|---|---|
protected int |
extentDirIndex
|
protected long |
extentEndOffset
|
protected int |
extentIndex
|
protected java.lang.String |
extentName
|
protected long |
extentSize
|
protected long |
extentStartOffset
|
protected long |
searchLocation
|
| Constructor Summary | |
|---|---|
ExtentListEntry(ExtentListEntry entry,
long position)
Copy an existing extent list entry and set a search position |
|
ExtentListEntry(long position)
Construct an empty list entry with only the search location set. |
|
ExtentListEntry(java.lang.String extName,
int extIndex,
int extDirIndex,
long extStartOff,
long extSize)
Construct a new extent descriptor. |
|
ExtentListEntry(java.lang.String extName,
SeisProperties virtualProperties)
Construct an extent based on values in a VirtualFile Properties object |
|
| Method Summary | |
|---|---|
boolean |
contains(long position)
Return true if this extent contains the specified file position |
void |
toProperties(SeisProperties virtualProperties)
Convert this list entry to a set of properties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int extentDirIndex
protected long extentEndOffset
protected int extentIndex
protected java.lang.String extentName
protected long extentSize
protected long extentStartOffset
protected long searchLocation
| Constructor Detail |
|---|
public ExtentListEntry(ExtentListEntry entry,
long position)
entry - list entry to copysearchPosition - file position to be used in searchespublic ExtentListEntry(long position)
position - file position in bytes for the search location
public ExtentListEntry(java.lang.String extName,
int extIndex,
int extDirIndex,
long extStartOff,
long extSize)
extBaseName - base name for extentsextIndex - index of this extentextDirIndex - index in ExtentManager directory list for this extentextStartOff - start offset in bytes for the extentextSize - size of the extent in bytesextFullPath - full path name for the extent
public ExtentListEntry(java.lang.String extName,
SeisProperties virtualProperties)
throws SeisException
extName - name of the extent to be constructedvirtualProperties - properties object containing extent descriptions
SeisException - on property access errors| Method Detail |
|---|
public boolean contains(long position)
position - file position in bytes
public void toProperties(SeisProperties virtualProperties)
throws SeisException
virtualProperties - properties object where this entry will be stored
SeisException - on property access errors
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||