org.icepdf.core.util
Class IncrementalUpdater

java.lang.Object
  extended by org.icepdf.core.util.IncrementalUpdater

public class IncrementalUpdater
extends java.lang.Object

Since:
4.0

Method Summary
static long appendIncrementalUpdate(Document document, java.io.OutputStream out, long documentLength)
          For simplicity, expose this one single method for appending an incremental update.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

appendIncrementalUpdate

public static long appendIncrementalUpdate(Document document,
                                           java.io.OutputStream out,
                                           long documentLength)
                                    throws java.io.IOException
For simplicity, expose this one single method for appending an incremental update.

Parameters:
document - The Document that's being saved
out - OutputStream to write the incremental update to
documentLength - The pre-existing PDF's file length
Returns:
The number of bytes written in the incremental update
Throws:
java.io.IOException