Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mom4j.ostore
Class HeaderSection  view HeaderSection download HeaderSection.java

java.lang.Object
  extended byorg.mom4j.ostore.HeaderSection

public class HeaderSection
extends java.lang.Object


Field Summary
private  long dataSectionStartPtr
           
private  java.io.RandomAccessFile file
           
private  FreeSpaceManager freeSpaceManager
           
static java.lang.String ID
           
private  Index[] indices
           
private  Sequence[] sequences
           
 
Constructor Summary
(package private) HeaderSection(java.io.RandomAccessFile f)
           
 
Method Summary
(package private)  void create(Index[] indices, Sequence[] sequences)
           
(package private)  long getDataSectionStartPtr()
           
(package private)  FreeSpaceManager getFreeSpaceManager()
           
(package private)  Index[] getIndices()
           
(package private)  java.io.RandomAccessFile getRandomAccessFile()
           
(package private)  Sequence[] getSequences()
           
(package private)  void read()
           
(package private)  void setDataSectionStartPtr(long newPtr)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values

file

private java.io.RandomAccessFile file

dataSectionStartPtr

private long dataSectionStartPtr

indices

private Index[] indices

sequences

private Sequence[] sequences

freeSpaceManager

private FreeSpaceManager freeSpaceManager
Constructor Detail

HeaderSection

HeaderSection(java.io.RandomAccessFile f)
Method Detail

read

void read()
    throws java.io.IOException

create

void create(Index[] indices,
            Sequence[] sequences)
      throws java.io.IOException

getIndices

Index[] getIndices()

getSequences

Sequence[] getSequences()

getFreeSpaceManager

FreeSpaceManager getFreeSpaceManager()

getDataSectionStartPtr

long getDataSectionStartPtr()

setDataSectionStartPtr

void setDataSectionStartPtr(long newPtr)
                      throws java.io.IOException

getRandomAccessFile

java.io.RandomAccessFile getRandomAccessFile()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).