|
|||||||||
| 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.BasicExportBuilder
edu.iris.Fissures.seed.builder.CssExportBuilder
public class CssExportBuilder
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.iris.Fissures.seed.builder.BasicExportBuilder |
|---|
BasicExportBuilder.ChannelInfo, BasicExportBuilder.ComplexNumber, BasicExportBuilder.DataInfo, BasicExportBuilder.EventInfo, BasicExportBuilder.ResponseInfo, BasicExportBuilder.StationInfo |
| Nested classes/interfaces inherited from class edu.iris.Fissures.seed.builder.ExportBuilder |
|---|
ExportBuilder.LogicalRecord |
| Field Summary | |
|---|---|
protected static java.lang.String[] |
magnitudeTypes
|
protected static int |
ORID
|
protected static int |
Wfdisc_buf_size
|
protected int |
wfid
|
| Fields inherited from class edu.iris.Fissures.seed.builder.BasicExportBuilder |
|---|
currentChannel, currentStation, EMPTY_TEXT, eventInfo, padFlag, stationList, TWO_PI, ZERO_NUMBER |
| 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 | |
|---|---|
CssExportBuilder()
Create a CSS export builder. |
|
| Method Summary | |
|---|---|
protected static double |
getEpochTime(Btime btime)
Gets the epoch time in seconds. |
protected double |
getMagnitude(java.lang.String magType)
Gets the magnitude for the specified magnitude type. |
protected java.lang.String |
getNet(java.lang.String instrument_code)
Gets the abbreviation for the specified instrument code. |
protected java.lang.String |
getSrcName(java.lang.String source_lookup_code)
Gets the source name for the specified source lookup code. |
protected void |
output_info()
Output the CSS information. |
protected static boolean |
scanFile(java.io.File textFile,
java.lang.String textStr)
Scan the file for the specified text. |
protected boolean |
writeData(java.lang.String outfile_name,
int[] intData)
Writes the data. |
protected boolean |
writeTextFile(java.io.File textFile,
java.lang.String text)
Writes the text file. |
| Methods inherited from class edu.iris.Fissures.seed.builder.BasicExportBuilder |
|---|
blkGetNumber, blkGetNumber, blkGetNumber, blkGetString, blkGetString, blkGetTime, blkGetTime, checkTrigger, clearDataInfo, convertNumber, find_type_32, find_type_33, find_type_34, findChannelInfo, findStationInfo, getDataInfo, getEndTime, getEndTime, getFloatData, getIntegerData, initExportScript, packToRecord, packToRecord, padLogical, padPhysical, startNewLogical, volumeFinish |
| 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 |
| Field Detail |
|---|
protected static int Wfdisc_buf_size
protected static int ORID
protected static java.lang.String[] magnitudeTypes
protected int wfid
| Constructor Detail |
|---|
public CssExportBuilder()
| Method Detail |
|---|
protected boolean writeData(java.lang.String outfile_name,
int[] intData)
outfile_name - the output filename.intData - the integer data values.
protected boolean writeTextFile(java.io.File textFile,
java.lang.String text)
textFile - the text file.text - the text.
protected void output_info()
output_info in class BasicExportBuilderprotected static double getEpochTime(Btime btime)
btime - the Btime.
protected double getMagnitude(java.lang.String magType)
magType - the magnitude type.
protected java.lang.String getNet(java.lang.String instrument_code)
instrument_code - the instrument code.
protected java.lang.String getSrcName(java.lang.String source_lookup_code)
source_lookup_code - the source lookup code.
protected static boolean scanFile(java.io.File textFile,
java.lang.String textStr)
textFile - the text file.textStr - the text.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||