org.apache.poi.hwpf.model
Class PlexOfCps
java.lang.Object
org.apache.poi.hwpf.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlexOfCps
public PlexOfCps(int sizeOfStruct)
PlexOfCps
public PlexOfCps(byte[] buf,
int start,
int size,
int sizeOfStruct)
- Constructor
- Parameters:
size
- The size in bytes of this PlexOfCpssizeOfStruct
- The size of the data structure type stored in
this PlexOfCps.
getProperty
public GenericPropertyNode getProperty(int index)
addProperty
public void addProperty(GenericPropertyNode node)
toByteArray
public byte[] toByteArray()
length
public int length()
- returns the number of data structures in this PlexOfCps.
- Returns:
- The number of data structures in this PlexOfCps
Copyright 2008 The Apache Software Foundation or
its licensors, as applicable.