Package llnl.gnem.core.io
Interface DataSource
- All Known Implementing Classes:
AbstractDataSource
,FileDataSource
,SACFileReader
public interface DataSource
Copyright (c) 2003 Regents of the University of California All rights
reserved Author: Dave Harris Created: Jan 25, 2004 Time: 1:11:12 PM Last
Modified: Jan 25, 2004
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
double
void
getData
(float[] dataArray) void
getData
(float[] dataArray, int offset, int numSamples) double
double
long
long
double
long
void
initiate()
void
print
(PrintStream ps) void
skipSamples
(long numSamples)
-
Method Details
-
getData
void getData(float[] dataArray) -
getData
void getData(float[] dataArray, int offset, int numSamples) -
skipSamples
void skipSamples(long numSamples) -
getTotalNumSamples
long getTotalNumSamples() -
getNumSamplesAvailable
long getNumSamplesAvailable() -
getNextSampleIndex
long getNextSampleIndex() -
getChannel
String getChannel() -
getStation
String getStation() -
getSamplingRate
double getSamplingRate() -
getEpochStartTime
double getEpochStartTime() -
getEpochEndTime
double getEpochEndTime() -
getCurrentEpochTime
double getCurrentEpochTime() -
initiate
void initiate() -
close
void close() -
print
-