Constructor and Description |
---|
MetaData(OfficeDocument oooDoc)
Construct a new instance from an OOo Writer document.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCreator()
Get the creator of this document (may be empty)
|
java.lang.String |
getDate()
Get the date of this document (may be empty)
|
java.lang.String |
getDescription()
Get the description of this document (may be empty)
|
java.lang.String |
getInitialCreator()
Get the initial creator of this document (may be empty)
|
java.lang.String |
getKeywords()
Get the keywords of this document as a comma separated list (may be epmty)
|
java.lang.String |
getLanguage()
Get the language of this document (may be empty)
|
java.lang.String |
getSubject()
Get the subject of this document (may be empty)
|
java.lang.String |
getTitle()
Get the title of this document (may be empty)
|
java.util.Map<java.lang.String,java.lang.String> |
getUserDefinedMetaData()
Get the user-defined meta data
|
void |
setLanguage(java.lang.String sLanguage) |
public MetaData(OfficeDocument oooDoc)
Construct a new instance from an OOo Writer document.
oooDoc
- is the OOo documentpublic java.lang.String getTitle()
Get the title of this document (may be empty)
public java.lang.String getCreator()
Get the creator of this document (may be empty)
getCreator
in interface MetaData
public java.lang.String getInitialCreator()
Get the initial creator of this document (may be empty)
public java.lang.String getDate()
Get the date of this document (may be empty)
public java.lang.String getDescription()
Get the description of this document (may be empty)
getDescription
in interface MetaData
public java.lang.String getLanguage()
Get the language of this document (may be empty)
getLanguage
in interface MetaData
public void setLanguage(java.lang.String sLanguage)
public java.lang.String getSubject()
Get the subject of this document (may be empty)
getSubject
in interface MetaData
public java.lang.String getKeywords()
Get the keywords of this document as a comma separated list (may be epmty)
getKeywords
in interface MetaData
public java.util.Map<java.lang.String,java.lang.String> getUserDefinedMetaData()
getUserDefinedMetaData
in interface MetaData