|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.javaseis.properties.SeisTraceProperty
public class SeisTraceProperty
Title: JavaSeis Property Description
Description: Defines basic description for trace properties
Copyright: Copyright (c) 2005
Company: JavaSeis.org
Field Summary | |
---|---|
(package private) java.lang.String |
_description
|
(package private) int |
_length
|
(package private) java.lang.String |
_name
|
(package private) int |
_nvals
|
(package private) int |
_offset
|
(package private) SeisPropertyType |
_type
|
Constructor Summary | |
---|---|
SeisTraceProperty()
Construct a trace property description |
|
SeisTraceProperty(SeisTraceProperty prop)
|
|
SeisTraceProperty(java.lang.String name,
java.lang.String s)
Construct a trace property description from a string |
|
SeisTraceProperty(java.lang.String name,
java.lang.String description,
SeisPropertyType type,
int nvals,
int offset)
|
Method Summary | |
---|---|
SeisTraceProperty |
clone()
|
java.lang.String |
getDescription()
|
int |
getLength()
|
java.lang.String |
getName()
|
int |
getNvals()
|
int |
getOffset()
|
SeisPropertyType |
getType()
|
void |
set(java.lang.String name,
java.lang.String s)
|
void |
set(java.lang.String name,
java.lang.String description,
SeisPropertyType type,
int nvals,
int offset)
|
void |
setOffset(int offset)
|
java.lang.String |
toPropString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.lang.String _description
int _length
java.lang.String _name
int _nvals
int _offset
SeisPropertyType _type
Constructor Detail |
---|
public SeisTraceProperty()
name
- Name for the trace propertydescription
- Description of this propertytype
- Property type, selected from Enumerated Type SeisPropertyTypenvals
- Number of values for this property (if an array), or number
of characters (if a string)offset
- Offset in trace header template of this propertypublic SeisTraceProperty(SeisTraceProperty prop)
public SeisTraceProperty(java.lang.String name, java.lang.String s) throws SeisException
name
- String defining the name of this propertys
- String containing description, type, nvals, offset in same format
as defined by toString.
SeisException
- if invalid string or type cannot be matchedpublic SeisTraceProperty(java.lang.String name, java.lang.String description, SeisPropertyType type, int nvals, int offset)
Method Detail |
---|
public SeisTraceProperty clone()
clone
in class java.lang.Object
public java.lang.String getDescription()
public int getLength()
public java.lang.String getName()
public int getNvals()
public int getOffset()
public SeisPropertyType getType()
public void set(java.lang.String name, java.lang.String s) throws SeisException
SeisException
public void set(java.lang.String name, java.lang.String description, SeisPropertyType type, int nvals, int offset)
public void setOffset(int offset)
public java.lang.String toPropString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |