|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iris.Fissures.seed.builder.ExportBuilder
edu.iris.Fissures.seed.builder.SeedExportBuilder
public class SeedExportBuilder
Concrete Builder class for exporting Blockette objects from the SeedObjectContainer to a SEED file format.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.iris.Fissures.seed.builder.ExportBuilder |
---|
ExportBuilder.LogicalRecord |
Field Summary |
---|
Fields inherited from class edu.iris.Fissures.seed.builder.ExportBuilder |
---|
builderType, endOfGroup, endOfLogical, endOfPhysical, exportMold, exportScript, logicalPerPhysical, logicalRecord, logicalRecordCount, logicalRecordLength, logicalRecords, nestingDepth, nestingScore, outputStream, padEnabledFlag, penDown, physicalRecordLength, recordPadding, scriptCursor, scriptNesting, vaxOrder |
Constructor Summary | |
---|---|
SeedExportBuilder()
Create new Seed Export Builder. |
|
SeedExportBuilder(java.lang.String mode)
Create the builder to output one of the SEED variants. |
Method Summary | |
---|---|
protected boolean |
checkTrigger(java.lang.String s)
Check for script triggers. |
static Btime |
getEndTime(Btime startTime,
int numSamples,
int srFactor,
int srMult)
Get the end time (as a Btime object). |
protected void |
packToRecord()
Pack currently held Blockette object to a SEED logical record. |
void |
setDatalessMode()
Set the builder to datalessSEED output mode. |
void |
setDefaultMode()
Set the builder to (default) full SEED mode. |
protected void |
setLogicalRecordLength()
Sets the logical record length to the default value. |
protected void |
setLogicalRecordLength(Waveform waveFrm,
int offset)
Sets the logical record length. |
void |
setMiniMode()
Set the builder to miniSEED output mode. |
void |
setOrganizationName(java.lang.String name)
Set the originating organization name for this volume. |
void |
setVolumeLabel(java.lang.String label)
Set the label string for this volume. |
protected void |
startNewLogical(SeedObject obj,
boolean continuation)
Start a new logical record. |
protected void |
volumeFinish()
Finishing actions for exporting to SEED. |
Methods inherited from class edu.iris.Fissures.seed.builder.ExportBuilder |
---|
build, close, finish, getNext, getType, isPaddingEnabled, open, padLogical, padPhysical, push, setLogicalRecLen, setPaddingEnabled, setPhysicalRecLen, setVaxOrder, startVolume, writeRecord |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SeedExportBuilder()
public SeedExportBuilder(java.lang.String mode)
Method Detail |
---|
public void setDatalessMode()
public void setMiniMode()
public void setDefaultMode()
public void setOrganizationName(java.lang.String name) throws SeedFormatException
SeedFormatException
public void setVolumeLabel(java.lang.String label) throws SeedFormatException
SeedFormatException
public static Btime getEndTime(Btime startTime, int numSamples, int srFactor, int srMult) throws java.lang.Exception
java.lang.Exception
protected void setLogicalRecordLength()
protected void setLogicalRecordLength(Waveform waveFrm, int offset)
waveFrm
- the Waveform or null if none.offset
- the offset.protected void packToRecord() throws java.lang.Exception
packToRecord
in class ExportBuilder
java.lang.Exception
protected boolean checkTrigger(java.lang.String s) throws java.lang.Exception
checkTrigger
in class ExportBuilder
java.lang.Exception
protected void volumeFinish() throws BuilderException
volumeFinish
in class ExportBuilder
BuilderException
protected void startNewLogical(SeedObject obj, boolean continuation) throws java.lang.Exception
startNewLogical
in class ExportBuilder
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |