pl.edu.pjwstk.yaod.store.defaultstore.blocks
Class DatabaseBlockSection

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.store.defaultstore.blocks.BlockSection
        |
        +--pl.edu.pjwstk.yaod.store.defaultstore.blocks.DatabaseBlockSection

public class DatabaseBlockSection
extends BlockSection


Constructor Summary
DatabaseBlockSection(BlockBody body)
           
 
Method Summary
 void get(byte[] buf, short offset, short length)
           
 byte[] get(short offset, short length)
           
 DatabaseBlockSectionHeader getHeader()
           
 int getInt(short offset)
           
 BlockSection getParentSection()
           
 short getShort(short offset)
           
 short getSize()
           
 void move(short start, short val, short len)
           
 void put(byte[] buf, short offset)
           
 void putInt(int value, short offset)
           
 void putShort(short value, short offset)
           
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseBlockSection

public DatabaseBlockSection(BlockBody body)
Method Detail

toByteArray

public byte[] toByteArray()

getSize

public short getSize()
Overrides:
getSize in class BlockSection

getHeader

public DatabaseBlockSectionHeader getHeader()

getParentSection

public BlockSection getParentSection()
Overrides:
getParentSection in class BlockSection

move

public void move(short start,
                 short val,
                 short len)

put

public void put(byte[] buf,
                short offset)

get

public void get(byte[] buf,
                short offset,
                short length)

get

public byte[] get(short offset,
                  short length)

getShort

public short getShort(short offset)

putShort

public void putShort(short value,
                     short offset)

getInt

public int getInt(short offset)

putInt

public void putInt(int value,
                   short offset)