|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.javaseis.io.SortRead
public class SortRead
Field Summary | |
---|---|
protected int |
currentFrame
|
protected int |
currentVolume
|
protected java.nio.ByteBuffer |
frameBuffer
|
protected int[] |
frameMap
|
protected VirtualIO |
frameMapio
|
protected int |
framesInVolume
|
protected int |
framesPerVolume
|
protected java.nio.IntBuffer |
frameView
|
protected java.lang.String |
label3
|
protected java.lang.String |
label4
|
protected int |
logicalFrame
|
protected int |
logicalVolume
|
protected int |
maxLogFrm
|
protected int |
maxLogVol
|
protected int |
minLogFrm
|
protected int |
minLogVol
|
protected Seisio |
sio
|
protected PropertyDescription |
sort3
|
protected PropertyDescription |
sort4
|
protected java.lang.String |
sortName
|
protected SeisProperties |
sprops
|
protected java.nio.ByteBuffer |
traceBuffer
|
protected long[] |
traceMap
|
protected VirtualIO |
traceMapio
|
protected int |
tracesInFrame
|
protected long |
tracesInSort
|
protected int |
tracesPerFrame
|
protected java.nio.LongBuffer |
traceView
|
protected java.nio.ByteBuffer |
volumeBuffer
|
protected int[] |
volumeMap
|
protected VirtualIO |
volumeMapio
|
protected int |
volumes
|
protected java.nio.IntBuffer |
volumeView
|
Constructor Summary | |
---|---|
protected |
SortRead()
|
|
SortRead(Seisio sioFile,
java.lang.String name)
Open a sort order for an existing JavaSeis dataset |
Method Summary | |
---|---|
void |
close()
|
static boolean |
delete(java.lang.String path)
Delete all sort orders in the directory defined by the input path. |
static boolean |
delete(java.lang.String path,
java.lang.String name)
Remove an existing sort order |
static boolean |
exists(Seisio sio,
java.lang.String name)
Determine if a sort order exists in an open JavaSeis dataset |
static boolean |
exists(java.lang.String path,
java.lang.String name)
Determine if a sort order exists |
java.lang.String |
getFrameLabel()
|
int |
getFrameLogicalDelta()
|
int |
getFrameLogicalOrigin()
|
int |
getNumFramesPerVolume()
|
int |
getNumTracesPerFrame()
|
int |
getNumVolumes()
|
java.lang.String |
getVolumeLabel()
|
int |
getVolumeLogicalDelta()
|
int |
getVolumeLogicalOrigin()
|
static java.lang.String[] |
list(Seisio seisio,
java.lang.String path)
Return a list of sort orders in a JavaSeis dataset |
static java.lang.String[] |
list(java.lang.String path)
Return a list of sort orders in a JavaSeis dataset |
static void |
main(java.lang.String[] args)
|
void |
open(Seisio sioFile,
java.lang.String name)
Open a sort order for an existing JavaSeis dataset |
int |
readFrame()
|
int |
setFrame(int ifrm)
Set the current frame for subsequent read and write operations |
void |
setPosition(int[] position)
Set the current position for a sort "scattered" read. |
int |
setVolume(int ivol)
Set the current volume for subsequent read and write operations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int currentFrame
protected int currentVolume
protected java.nio.ByteBuffer frameBuffer
protected int[] frameMap
protected VirtualIO frameMapio
protected int framesInVolume
protected int framesPerVolume
protected java.nio.IntBuffer frameView
protected java.lang.String label3
protected java.lang.String label4
protected int logicalFrame
protected int logicalVolume
protected int maxLogFrm
protected int maxLogVol
protected int minLogFrm
protected int minLogVol
protected Seisio sio
protected PropertyDescription sort3
protected PropertyDescription sort4
protected java.lang.String sortName
protected SeisProperties sprops
protected java.nio.ByteBuffer traceBuffer
protected long[] traceMap
protected VirtualIO traceMapio
protected int tracesInFrame
protected long tracesInSort
protected int tracesPerFrame
protected java.nio.LongBuffer traceView
protected java.nio.ByteBuffer volumeBuffer
protected int[] volumeMap
protected VirtualIO volumeMapio
protected int volumes
protected java.nio.IntBuffer volumeView
Constructor Detail |
---|
protected SortRead()
public SortRead(Seisio sioFile, java.lang.String name) throws SeisException
sioFile
- An open JavaSeis datasetname
- sort order to be used in reading this dataset
SeisException
- on open errorsMethod Detail |
---|
public void close()
public static boolean delete(java.lang.String path)
path
-
public static boolean delete(java.lang.String path, java.lang.String name)
path
- full path name to JavaSeis datasetname
- name of sort order to be removed
public static boolean exists(Seisio sio, java.lang.String name)
sio
- Seisio object for an open JavaSeis datasetname
- sort order name for inquiry
public static boolean exists(java.lang.String path, java.lang.String name)
path
- full path name for the JavaSeis datasetname
- sort order name for inquiry
public java.lang.String getFrameLabel()
public int getFrameLogicalDelta()
public int getFrameLogicalOrigin()
public int getNumFramesPerVolume()
public int getNumTracesPerFrame()
public int getNumVolumes()
public java.lang.String getVolumeLabel()
public int getVolumeLogicalDelta()
public int getVolumeLogicalOrigin()
public static java.lang.String[] list(Seisio seisio, java.lang.String path)
path
- full path name to an existing JavaSeis dataset
public static java.lang.String[] list(java.lang.String path)
path
- full path name to an existing JavaSeis dataset
public static void main(java.lang.String[] args) throws SeisException
args
-
SeisException
public void open(Seisio sioFile, java.lang.String name) throws SeisException
sioFile
- An open JavaSeis datasetname
- sort order to be used in reading this dataset
SeisException
public int readFrame() throws SeisException
SeisException
public int setFrame(int ifrm) throws SeisException
ifrm
- the zero-based index of the desired frame location
SeisException
public void setPosition(int[] position) throws SeisException
position
- desired position within sort order
SeisException
- if position is invalidpublic int setVolume(int ivol) throws SeisException
ivol
- the zero-based index of the desired volume location
SeisException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |