org.textmining.extraction.word.model
Class PlexOfCps

java.lang.Object
  extended by org.textmining.extraction.word.model.PlexOfCps

public class PlexOfCps
extends java.lang.Object

common data structure in a Word file. Contains an array of 4 byte ints in the front that relate to an array of abitrary data structures in the back.

Author:
Ryan Ackley

Constructor Summary
PlexOfCps(byte[] buf, int start, int size, int sizeOfStruct)
          Constructor
PlexOfCps(int sizeOfStruct)
           
 
Method Summary
 void addProperty(GenericPropertyNode node)
           
 GenericPropertyNode getProperty(int index)
           
 int length()
          returns the number of data structures in this PlexOfCps.
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlexOfCps

public PlexOfCps(byte[] buf,
                 int start,
                 int size,
                 int sizeOfStruct)
Constructor

Parameters:
size - The size in bytes of this PlexOfCps
sizeOfStruct - The size of the data structure type stored in this PlexOfCps.

PlexOfCps

public PlexOfCps(int sizeOfStruct)
Method Detail

addProperty

public void addProperty(GenericPropertyNode node)

getProperty

public GenericPropertyNode getProperty(int index)

length

public int length()
returns the number of data structures in this PlexOfCps.

Returns:
The number of data structures in this PlexOfCps

toByteArray

public byte[] toByteArray()