edu.iris.Fissures.seed.builder
Class BasicExportBuilder.DataInfo

java.lang.Object
  extended by edu.iris.Fissures.seed.builder.BasicExportBuilder.DataInfo
Enclosing class:
BasicExportBuilder

protected class BasicExportBuilder.DataInfo
extends java.lang.Object

Data info for export.


Field Summary
protected  Blockette blk
           
protected  java.lang.String channelName
           
protected  char dataQuality
           
protected  Btime endTime
           
protected  java.lang.String locationId
           
protected  java.lang.String networkCode
           
protected  java.lang.Number numSamples
           
protected  double sampleRate
           
protected  java.lang.Number srFactor
           
protected  java.lang.Number srMult
           
protected  Btime startTime
           
protected  java.lang.String stationName
           
 
Constructor Summary
BasicExportBuilder.DataInfo(Blockette blk)
          Creates the data information from the blockette.
 
Method Summary
 float[] getFloatData()
          Gets the waveform data as floating point values.
 int[] getIntegerData()
          Gets the waveform data as integer values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blk

protected final Blockette blk

dataQuality

protected final char dataQuality

stationName

protected final java.lang.String stationName

locationId

protected final java.lang.String locationId

channelName

protected final java.lang.String channelName

networkCode

protected final java.lang.String networkCode

numSamples

protected final java.lang.Number numSamples

srFactor

protected final java.lang.Number srFactor

srMult

protected final java.lang.Number srMult

startTime

protected final Btime startTime

endTime

protected final Btime endTime

sampleRate

protected final double sampleRate
Constructor Detail

BasicExportBuilder.DataInfo

public BasicExportBuilder.DataInfo(Blockette blk)
                            throws java.lang.Exception
Creates the data information from the blockette.

Parameters:
blk - the Blockette.
Throws:
java.lang.Exception - if error.
Method Detail

getFloatData

public float[] getFloatData()
                     throws java.lang.Exception
Gets the waveform data as floating point values.

Returns:
the waveform data as floating point values.
Throws:
java.lang.Exception - if error.

getIntegerData

public int[] getIntegerData()
                     throws java.lang.Exception
Gets the waveform data as integer values.

Returns:
the waveform data as integer values.
Throws:
java.lang.Exception - if error.