|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iris.dmc.seedcodec.Codec
public class Codec
Codec.java Created: Thu Nov 21 13:01:20 2002
Field Summary |
---|
Fields inherited from interface edu.iris.dmc.seedcodec.B1000Types |
---|
ASCII, CDSN, DOUBLE, DWWSSN, FLOAT, INT24, INTEGER, SHORT, SRO, STEIM1, STEIM2 |
Constructor Summary | |
---|---|
Codec()
|
Method Summary | |
---|---|
DecompressedData |
decompress(int type,
byte[] b,
int numSamples,
boolean swapBytes)
Decompresses the data into the best java primitive type for the given compression and returns it. |
int |
getDecompressedType(int type)
returns an integer that represent the java primitive that the data will decompresses to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Codec()
Method Detail |
---|
public DecompressedData decompress(int type, byte[] b, int numSamples, boolean swapBytes) throws CodecException, UnsupportedCompressionType
CodecException
UnsupportedCompressionType
public int getDecompressedType(int type) throws UnsupportedCompressionType
UnsupportedCompressionType
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |