public class PDFEncoding.DifferencesBuilder
extends java.lang.Object
Constructor and Description |
---|
PDFEncoding.DifferencesBuilder() |
Modifier and Type | Method and Description |
---|---|
PDFEncoding.DifferencesBuilder |
addDifference(int code)
Start a new difference.
|
PDFEncoding.DifferencesBuilder |
addName(java.lang.String name)
Adds a character name to the current difference.
|
boolean |
hasDifferences()
Indicates whether any differences have been recorded.
|
PDFArray |
toPDFArray()
Creates and returns the PDFArray representing the Differences entry.
|
public PDFEncoding.DifferencesBuilder addDifference(int code)
code
- the starting code index inside the encodingpublic PDFEncoding.DifferencesBuilder addName(java.lang.String name)
name
- the character namepublic boolean hasDifferences()
public PDFArray toPDFArray()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.