|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DataCompression>
org.javaseis.compress.DataCompression
public enum DataCompression
The DataCompression class provides JavaSeis data compression enumerations.
Enum Constant Summary | |
---|---|
INT08
|
|
INT16
|
|
NONE
|
Field Summary | |
---|---|
protected int |
_bytesPerSample
|
protected java.lang.String |
_description
|
protected java.lang.String |
_name
|
Method Summary | |
---|---|
static DataCompression |
get(java.lang.String name)
Gets the data compression based on the name. |
int |
getBytesPerSample()
Gets the # of bytes per sample the data compression. |
java.lang.String |
getDescription()
Gets the description the data compression. |
java.lang.String |
getName()
Gets the name the data compression. |
java.lang.String |
toString()
Gets the string representation of the data compression. |
static DataCompression |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DataCompression[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DataCompression INT08
public static final DataCompression INT16
public static final DataCompression NONE
Field Detail |
---|
protected int _bytesPerSample
protected java.lang.String _description
protected java.lang.String _name
Method Detail |
---|
public static DataCompression get(java.lang.String name)
name
- The name of the data compression.
public int getBytesPerSample()
public java.lang.String getDescription()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<DataCompression>
public static DataCompression valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static DataCompression[] values()
for (DataCompression c : DataCompression.values()) System.out.println(c);
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |