|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.gv.egiz.pdfas.impl.vfilter.helper.VerificationFilterHelper
Contains helpful methods used by the VerificationFilter.
| Constructor Summary | |
VerificationFilterHelper()
|
|
| Method Summary | |
static TextPartition |
findLastTextPartition(List partitions)
Finds the last text partition in the given list of partitions. |
static int |
getEndOfPartition(Partition partition)
Determines the end of the given partiton. |
static List |
partition(PdfDataSource pdf,
List blocks)
Partitions the list of Incremental Update blocks into text and binary partitions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VerificationFilterHelper()
| Method Detail |
public static List partition(PdfDataSource pdf,
List blocks)
throws VerificationFilterException
A partition is a sequence of Incremental Update blocks of the same type.
An Incremental Update block is considered to have the type "binary" if it contains an egiz dictionary. A block not containing an egiz dictionary is considert to have the type "text".
pdf - The PDF.blocks - The Incremental Update blocks.
VerificationFilterException - Thrown if something goes wrong.public static int getEndOfPartition(Partition partition)
partition - The partition.
public static TextPartition findLastTextPartition(List partitions)
partitions - The partitions.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||