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

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

public class DataBlockSection
extends java.lang.Object


Field Summary
 DatabaseBlockSection m_body
           
 DataBlockSectionHeader m_header
           
 
Constructor Summary
DataBlockSection(DatabaseBlockSection body)
           
 
Method Summary
 void get(byte[] buf, short offset, short length)
           
 byte[] get(short offset, short length)
           
 DatabaseBlockSection getBody()
           
 DataBlockSectionHeader getHeader()
           
 short getShort(short offset)
           
 int getSize()
           
 void move(short start, short val, short len)
           
 void put(byte[] buf, 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
 

Field Detail

m_header

public DataBlockSectionHeader m_header

m_body

public DatabaseBlockSection m_body
Constructor Detail

DataBlockSection

public DataBlockSection(DatabaseBlockSection body)
Method Detail

toByteArray

public byte[] toByteArray()

getSize

public int getSize()

getHeader

public DataBlockSectionHeader getHeader()

getBody

public DatabaseBlockSection getBody()

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)