|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfclown.objects.PdfObjectWrapper<PdfArray>
org.pdfclown.files.FileIdentifier
public final class FileIdentifier
File identifier [PDF:1.7:10.3].
| Constructor Summary | |
|---|---|
FileIdentifier()
Creates a new direct file identifier. |
|
FileIdentifier(File context)
Creates a new indirect file identifier. |
|
| Method Summary | |
|---|---|
FileIdentifier |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
String |
getBaseID()
Gets the permanent identifier based on the contents of the file at the time it was originally created. |
String |
getVersionID()
Gets the changing identifier based on the file's contents at the time it was last updated. |
void |
update(Writer writer)
Computes a new version identifier based on the file's contents. |
static FileIdentifier |
wrap(PdfDirectObject baseObject)
Gets an existing file identifier. |
| Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
|---|
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileIdentifier()
public FileIdentifier(File context)
| Method Detail |
|---|
public static FileIdentifier wrap(PdfDirectObject baseObject)
baseObject - Base object to wrap.public FileIdentifier clone(Document context)
PdfObjectWrapper
clone in class PdfObjectWrapper<PdfArray>context - Which document the clone has to be registered in.public String getBaseID()
public String getVersionID()
public void update(Writer writer)
writer - File serializer.
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||