ElegantJ PDF Library Java API Specification v1.1

com.elegantj.pdf
Class Info

java.lang.Object
  extended bycom.elegantj.pdf.PDFObject
      extended bycom.elegantj.pdf.Info

public class Info
extends PDFObject

Info provides information about the document The information may be displayed using a viewer application


Constructor Summary
Info()
          The default constructor
Info(java.lang.String title)
          Constructs an Info object using specified title string
 
Method Summary
 java.lang.Object clone()
          Returns the clone of this object
 java.lang.String getAuthor()
          Method which returns the document's author name
 java.lang.String getCreator()
          Method which returns the document's creator application and version
 java.lang.String getKeywords()
          Method which returns the keywords for this document Keywords are usually used by archive applications and search engines
 java.lang.String getSubject()
          Method which returns the document's subject
 java.lang.String getTitle()
          Method which returns the title of the document
 void setAuthor(java.lang.String author)
          Method which sets the document's author name
 void setCreator(java.lang.String creator)
          Method which sets the document's creator, usually the name of the application that's creating the document, and it's version number.
 void setKeywords(java.lang.String keywords)
          Method which sets the keywords for this document Keywords are usually used by archive applications and search engines
 void setSubject(java.lang.String subject)
          Method which sets the document's subject
 void setTitle(java.lang.String title)
          Method which sets the title of the document
 
Methods inherited from class com.elegantj.pdf.PDFObject
getPDFObjectID, getPDFObjectRefStr, getPDFObjectType, setPDFObjectID, setPDFObjectType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Info

public Info()
The default constructor


Info

public Info(java.lang.String title)
Constructs an Info object using specified title string

Parameters:
title - The title of this PDF document
Method Detail

setAuthor

public void setAuthor(java.lang.String author)
Method which sets the document's author name

Parameters:
author - the name of the document's author

getAuthor

public java.lang.String getAuthor()
Method which returns the document's author name

Returns:
The document's author name

setCreator

public void setCreator(java.lang.String creator)
Method which sets the document's creator, usually the name of the application that's creating the document, and it's version number.

Parameters:
creator - The name of the application creating the document

getCreator

public java.lang.String getCreator()
Method which returns the document's creator application and version

Returns:
The document's creator application and version

setTitle

public void setTitle(java.lang.String title)
Method which sets the title of the document

Parameters:
title - The title of the document

getTitle

public java.lang.String getTitle()
Method which returns the title of the document

Returns:
The title of the document

setSubject

public void setSubject(java.lang.String subject)
Method which sets the document's subject

Parameters:
subject - The document's subject

getSubject

public java.lang.String getSubject()
Method which returns the document's subject

Returns:
The document's subject

setKeywords

public void setKeywords(java.lang.String keywords)
Method which sets the keywords for this document Keywords are usually used by archive applications and search engines

Parameters:
keywords - The keywords for the document

getKeywords

public java.lang.String getKeywords()
Method which returns the keywords for this document Keywords are usually used by archive applications and search engines

Returns:
The keywords for this document

clone

public java.lang.Object clone()
Returns the clone of this object

Returns:
The clone of this object

ElegantJ PDF Library Java API Specification v1.1

For any feedback, suggestion, or query, please revert back to support@elegantjpdf.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjpdf.com
All Rights Reserved.