jdbm.recman
Class PageHeader

java.lang.Object
  extended by jdbm.recman.PageHeader
All Implemented Interfaces:
BlockView

public class PageHeader
extends java.lang.Object
implements BlockView

This class represents a page header. It is the common superclass for all different page views.


Field Summary
protected  BlockIo block
           
protected static short SIZE
           
 
Constructor Summary
protected PageHeader(BlockIo block)
          Constructs a PageHeader object from a block
 
Method Summary
protected  void paranoiaMagicOk()
          For paranoia mode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

protected static final short SIZE
See Also:
Constant Field Values

block

protected BlockIo block
Constructor Detail

PageHeader

protected PageHeader(BlockIo block)
Constructs a PageHeader object from a block

Parameters:
block - The block that contains the file header
Throws:
IOException - if the block is too short to keep the file header.
Method Detail

paranoiaMagicOk

protected void paranoiaMagicOk()
For paranoia mode



Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.