org.apache.poi.hwpf.model
Class TextPieceTable

java.lang.Object
  extended by org.apache.poi.hwpf.model.TextPieceTable

public class TextPieceTable
extends java.lang.Object

Author:
Ryan Ackley

Field Summary
protected  java.util.ArrayList _textPieces
           
 
Constructor Summary
TextPieceTable()
           
TextPieceTable(byte[] documentStream, byte[] tableStream, int offset, int size, int fcMin)
           
 
Method Summary
 int adjustForInsert(int listIndex, int length)
           
 boolean equals(java.lang.Object o)
           
 int getCpMin()
           
 java.util.List getTextPieces()
           
 byte[] writeTo(HWPFOutputStream docStream)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_textPieces

protected java.util.ArrayList _textPieces
Constructor Detail

TextPieceTable

public TextPieceTable()

TextPieceTable

public TextPieceTable(byte[] documentStream,
                      byte[] tableStream,
                      int offset,
                      int size,
                      int fcMin)
               throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException
Method Detail

getCpMin

public int getCpMin()

getTextPieces

public java.util.List getTextPieces()

writeTo

public byte[] writeTo(HWPFOutputStream docStream)
               throws java.io.IOException
Throws:
java.io.IOException

adjustForInsert

public int adjustForInsert(int listIndex,
                           int length)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.