Package edu.sc.seis.seisFile.syncFile
Class SyncFileCompare
- java.lang.Object
-
- edu.sc.seis.seisFile.syncFile.SyncFileCompare
-
public class SyncFileCompare extends java.lang.Object
Compares two sync files, creating 3 psuedo-sync files. This assumes that the input sync files are for a single channel and are sorted.- In A and In B
- In A and Not In B
- Not In A and In B
-
-
Constructor Summary
Constructors Constructor Description SyncFileCompare(SyncFile a, SyncFile b)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncFile
getA()
SyncFile
getB()
java.util.Date
getEarliest()
SyncFile
getInAinB()
SyncFile
getInAnotB()
java.util.Date
getLatest()
SyncFile
getNotAinB()
boolean
isVerbose()
static void
main(java.lang.String[] args)
static java.util.Date[]
range(java.util.Collection<SyncFile> sfSet)
void
setVerbose(boolean verbose)
-
-
-
Method Detail
-
getA
public SyncFile getA()
-
getB
public SyncFile getB()
-
getInAinB
public SyncFile getInAinB()
-
getNotAinB
public SyncFile getNotAinB()
-
getInAnotB
public SyncFile getInAnotB()
-
isVerbose
public boolean isVerbose()
-
setVerbose
public void setVerbose(boolean verbose)
-
getEarliest
public java.util.Date getEarliest()
-
getLatest
public java.util.Date getLatest()
-
range
public static java.util.Date[] range(java.util.Collection<SyncFile> sfSet)
-
main
public static void main(java.lang.String[] args) throws java.io.IOException, SeisFileException
- Throws:
java.io.IOException
SeisFileException
-
-