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
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
GCFHeader
getHeader()
abstract int
getSize()
int
hashCode()
static AbstractGCFBlock
read(java.io.DataInput in, boolean isSerial)
abstract void
write(java.io.DataOutput out)
-
-
-
Constructor Detail
-
AbstractGCFBlock
protected AbstractGCFBlock(GCFHeader header)
-
-
Method Detail
-
getHeader
public GCFHeader 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
-
-