JPedal Java PDF library 4.10b16 API Documentation - http://www.jpedal.org

org.jpedal.objects
Class PdfFileInformation

java.lang.Object
  extended by org.jpedal.objects.PdfFileInformation

public class PdfFileInformation
extends java.lang.Object

Added as a repository to store PDF file metadata (both legacy fields and XML metadata) in so that it can be accesed.

Please see org.jpedal.examples (especially SimpleViewer) for example code.


Field Summary
static int[] information_field_IDs
          list of pdf information fields data might contain
 
Constructor Summary
PdfFileInformation()
           
 
Method Summary
static java.lang.String[] getFieldNames()
          return list of field names
 java.lang.String[] getFieldValues()
          return list of field values to match field names (legacy non-XML information fields)
 java.lang.String getFileXMLMetaData()
          return XML data embedded inside PDF
 void setFieldValue(int i, java.lang.String convertedValue)
          set the information values as file opened by JPedal (should not be used externally)
 void setFileXMLMetaData(byte[] rawData)
          set list of field names as file opened by JPedal (should not be used externally)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

information_field_IDs

public static final int[] information_field_IDs
list of pdf information fields data might contain

Constructor Detail

PdfFileInformation

public PdfFileInformation()
Method Detail

getFieldNames

public static java.lang.String[] getFieldNames()
return list of field names


getFileXMLMetaData

public java.lang.String getFileXMLMetaData()
return XML data embedded inside PDF


setFileXMLMetaData

public void setFileXMLMetaData(byte[] rawData)
set list of field names as file opened by JPedal (should not be used externally)


getFieldValues

public java.lang.String[] getFieldValues()
return list of field values to match field names (legacy non-XML information fields)


setFieldValue

public void setFieldValue(int i,
                          java.lang.String convertedValue)
set the information values as file opened by JPedal (should not be used externally)


JPedal Java PDF library 4.10b16 API Documentation - http://www.jpedal.org

JPedal Java PDF library 4.10b16 API Documentation - http://www.jpedal.org