edu.sc.seis.seisFile.gcf
Class AbstractGCFBlock

java.lang.Object
  extended by edu.sc.seis.seisFile.gcf.AbstractGCFBlock
Direct Known Subclasses:
GCFBlock, GCFStatusBlock

public abstract class AbstractGCFBlock
extends java.lang.Object


Constructor Summary
protected AbstractGCFBlock(GCFHeader header)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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 class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object