|
|||||||||
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.SacExportBuilder
public class SacExportBuilder
Concrete Builder class for exporting Blockette objects from the SeedObjectContainer to the SAC file format. Capable of single output stream or multi-file output.
Derived from code developed by:
Chris Laughbon
Doug Neuhauser
Allen Nance
Dennis O'Neill
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 | |
---|---|
SacExportBuilder()
Create a new Sac Export Buider. |
Method Summary | |
---|---|
protected boolean |
checkTrigger(java.lang.String s)
Implement export script triggers here. |
static Btime |
getEndTime(Btime startTime,
int numSamples,
int srFactor,
int srMult)
Get the end time (as a Btime object). |
protected void |
packToRecord()
Convert SEED object info to SAC orientation. |
protected void |
padLogical()
No function performed. |
protected void |
padPhysical()
No function performed. |
void |
setDefaultMode()
This String represents the script pattern for binary SAC volume. |
void |
setEncoding(java.lang.String s)
Force data encoding of data records. |
void |
splitToFiles(boolean verboseFlag)
Output to multiple SAC files. |
protected void |
startNewLogical(SeedObject obj,
boolean continuation)
Create a new logical/physical SAC record and add to logical record vector. |
protected void |
volumeFinish()
Finish up volume export operations. |
Methods inherited from class edu.iris.Fissures.seed.builder.ExportBuilder |
---|
build, close, finish, getNext, getType, isPaddingEnabled, open, 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 SacExportBuilder()
Method Detail |
---|
public void setDefaultMode()
ExportBuilder.getNext()
public static Btime getEndTime(Btime startTime, int numSamples, int srFactor, int srMult) throws java.lang.Exception
java.lang.Exception
public void splitToFiles(boolean verboseFlag) throws java.lang.Exception
java.lang.Exception
public void setEncoding(java.lang.String s)
protected void padLogical()
padLogical
in class ExportBuilder
protected void padPhysical()
padPhysical
in class ExportBuilder
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 |