Package edu.sc.seis.seisFile.gcf
Class AbstractGCFBlock
java.lang.Object
edu.sc.seis.seisFile.gcf.AbstractGCFBlock
- Direct Known Subclasses:
GCFBlock
,GCFStatusBlock
public abstract class AbstractGCFBlock
extends java.lang.Object
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractGCFBlock(GCFHeader header)
-
Method Summary
-
Constructor Details
-
Method Details
-
getHeader
-
getSize
public abstract int getSize() -
write
public abstract void write(java.io.DataOutput out) throws java.lang.NumberFormatException, java.io.IOException- Throws:
java.lang.NumberFormatException
java.io.IOException
-
read
public static AbstractGCFBlock read(java.io.DataInput in, boolean isSerial) throws java.io.IOException, GCFFormatException- Throws:
java.io.IOException
GCFFormatException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-