com.arctorus.documents
Class DocumentProperties

java.lang.Object
  extended by com.arctorus.documents.DocumentProperties

public class DocumentProperties
extends java.lang.Object

Office document standard properties


Method Summary
 java.lang.String getApplication()
          Gets the application name where a document was created.
 java.lang.String getAppVersion()
          Gets the application version where a document was created.
 java.lang.String getCompany()
          Gets the company name where a document was created.
 java.util.Date getCreated()
          Gets the date when a document was created.
 java.lang.String getCreator()
          Gets the author of a document.
 java.lang.String getDescription()
          Gets the description of a document.
 java.lang.String getKeywords()
          Gets the keywords of a document.
 java.lang.String getLastModifiedBy()
          Gets the editor who modified a document last time.
 java.util.Date getLastPrinted()
          Gets the date when a document was printed last time.
 boolean getLinksUpToDate()
          Gets whether the hyperlinks in a document are up to date.
 java.lang.String getManager()
          Gets the manager of a document.
 java.util.Date getModified()
          Gets the date when a document was modified last time.
 java.lang.String getSubject()
          Gets the subject of a document.
 java.lang.String getTemplateName()
          Gets the name of a template used in a document.
 java.lang.String getTitle()
          Gets the title of a document.
 void setApplication(java.lang.String value)
          Sets the application name where a document was created.
 void setAppVersion(java.lang.String value)
          Sets the application version where a document was created.
 void setCompany(java.lang.String value)
          Sets the company name where a document was created.
 void setCreated(java.util.Date value)
          Sets the date when a document was created.
 void setCreator(java.lang.String value)
          Sets the author of a document.
 void setDescription(java.lang.String value)
          Sets the description of a document.
 void setKeywords(java.lang.String value)
          Sets the keywords of a document.
 void setLastModifiedBy(java.lang.String value)
          Sets the editor who modified a document last time.
 void setLastPrinted(java.util.Date value)
          Sets the date when a document was printed last time.
 void setLinksUpToDate(boolean value)
          Sets whether the hyperlinks in a document are up to date.
 void setManager(java.lang.String value)
          Sets the manager of a document.
 void setModified(java.util.Date value)
          Sets the date when a document was modified last time.
 void setSubject(java.lang.String value)
          Sets the subject of a document.
 void setTemplateName(java.lang.String value)
          Sets the name of a template used in a document.
 void setTitle(java.lang.String value)
          Sets the title of a document.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCreated

public java.util.Date getCreated()
Gets the date when a document was created.


setCreated

public void setCreated(java.util.Date value)
Sets the date when a document was created.

Parameters:
value - date when a document was created.

getCreator

public java.lang.String getCreator()
Gets the author of a document.


setCreator

public void setCreator(java.lang.String value)
Sets the author of a document.

Parameters:
value - the author of a document.

getDescription

public java.lang.String getDescription()
Gets the description of a document.


setDescription

public void setDescription(java.lang.String value)
Sets the description of a document.

Parameters:
value - the description of a document.

getKeywords

public java.lang.String getKeywords()
Gets the keywords of a document.


setKeywords

public void setKeywords(java.lang.String value)
Sets the keywords of a document. Keywords should be separated by comma and optional space.

Parameters:
value - the keywords of a document.

getLastModifiedBy

public java.lang.String getLastModifiedBy()
Gets the editor who modified a document last time.


setLastModifiedBy

public void setLastModifiedBy(java.lang.String value)
Sets the editor who modified a document last time.

Parameters:
value - the editor who modified a document last time.

getLastPrinted

public java.util.Date getLastPrinted()
Gets the date when a document was printed last time.


setLastPrinted

public void setLastPrinted(java.util.Date value)
Sets the date when a document was printed last time.

Parameters:
value - the date when a document was printed last time.

getTitle

public java.lang.String getTitle()
Gets the title of a document.


setTitle

public void setTitle(java.lang.String value)
Sets the title of a document.

Parameters:
value - the title of a document.

getSubject

public java.lang.String getSubject()
Gets the subject of a document.


setSubject

public void setSubject(java.lang.String value)
Sets the subject of a document.

Parameters:
value - the subject of a document.

getModified

public java.util.Date getModified()
Gets the date when a document was modified last time.


setModified

public void setModified(java.util.Date value)
Sets the date when a document was modified last time.

Parameters:
value - the date when a document was modified last time.

getApplication

public java.lang.String getApplication()
Gets the application name where a document was created.


setApplication

public void setApplication(java.lang.String value)
Sets the application name where a document was created.

Parameters:
value - the application name where a document was created.

getAppVersion

public java.lang.String getAppVersion()
Gets the application version where a document was created. Must be in the format XX.YYYY for the Microsoft Office, otherwise document will be recognized as broken.


setAppVersion

public void setAppVersion(java.lang.String value)
Sets the application version where a document was created. Must be in the format XX.YYYY for the Microsoft Office, otherwise document will be recognized as broken.

Parameters:
value - the application version where a document was created.

getCompany

public java.lang.String getCompany()
Gets the company name where a document was created.


setCompany

public void setCompany(java.lang.String value)
Sets the company name where a document was created.

Parameters:
value - the company name where a document was created.

getLinksUpToDate

public boolean getLinksUpToDate()
Gets whether the hyperlinks in a document are up to date.


setLinksUpToDate

public void setLinksUpToDate(boolean value)
Sets whether the hyperlinks in a document are up to date.

Parameters:
value - true if set hyperlinks in a document are up to date.

getManager

public java.lang.String getManager()
Gets the manager of a document.


setManager

public void setManager(java.lang.String value)
Sets the manager of a document.

Parameters:
value - the manager of a document.

getTemplateName

public java.lang.String getTemplateName()
Gets the name of a template used in a document.


setTemplateName

public void setTemplateName(java.lang.String value)
Sets the name of a template used in a document.

Parameters:
value - the name of a template used in a document.