|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.DocumentInfo
public class DocumentInfo
The DocumentInfo coclass is used to read and write map document properties.
Constructor Summary | |
---|---|
DocumentInfo()
Constructs a DocumentInfo using ArcGIS Engine. |
|
DocumentInfo(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DocumentInfo theDocumentInfo = (DocumentInfo) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
String |
getAuthor()
The author of the document. |
String |
getCategory()
The category of the document. |
static String |
getClsid()
getClsid. |
String |
getComments()
Comments for the document. |
String |
getCredits()
The credits of the document. |
Object |
getDateExported()
Date the document was last exported. |
Object |
getDatePrinted()
Date the document was last printed. |
Object |
getDateSaved()
Date the document was last saved. |
String |
getDocumentTitle()
The title of the document. |
String |
getFolder()
The folder of the document. |
String |
getHyperlinkBase()
The hyperlink base of the document. |
String |
getKeywords()
The keywords for the document. |
String |
getName()
The name of the document. |
String |
getPath()
The path of the document. |
String |
getSubject()
The subject of the document. |
int |
hashCode()
the hashcode for this object |
boolean |
isRelativePaths()
Indicates if relative path is used when the document is saved. |
boolean |
isSavePreview()
Indicates if a preview of the document is saved when the document is saved. |
void |
setAuthor(String author)
The author of the document. |
void |
setCategory(String category)
The category of the document. |
void |
setComments(String comments)
Comments for the document. |
void |
setCredits(String credits)
The credits of the document. |
void |
setDocumentTitle(String title)
The title of the document. |
void |
setHyperlinkBase(String path)
The hyperlink base of the document. |
void |
setKeywords(String keywords)
The keywords for the document. |
void |
setRelativePaths(boolean useRelativePaths)
Indicates if relative path is used when the document is saved. |
void |
setSavePreview(boolean savePreview)
Indicates if a preview of the document is saved when the document is saved. |
void |
setSubject(String subject)
The subject of the document. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public DocumentInfo() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic DocumentInfo(Object obj) throws IOException
DocumentInfo theDocumentInfo = (DocumentInfo) obj;
obj
to DocumentInfo
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getDocumentTitle() throws IOException, AutomationException
getDocumentTitle
in interface IDocumentInfo
getDocumentTitle
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentTitle(String title) throws IOException, AutomationException
setDocumentTitle
in interface IDocumentInfo
setDocumentTitle
in interface IDocumentInfo2
title
- The title (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSubject() throws IOException, AutomationException
getSubject
in interface IDocumentInfo
getSubject
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubject(String subject) throws IOException, AutomationException
setSubject
in interface IDocumentInfo
setSubject
in interface IDocumentInfo2
subject
- The subject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAuthor() throws IOException, AutomationException
getAuthor
in interface IDocumentInfo
getAuthor
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAuthor(String author) throws IOException, AutomationException
setAuthor
in interface IDocumentInfo
setAuthor
in interface IDocumentInfo2
author
- The author (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
getCategory
in interface IDocumentInfo
getCategory
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCategory(String category) throws IOException, AutomationException
setCategory
in interface IDocumentInfo
setCategory
in interface IDocumentInfo2
category
- The category (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getComments() throws IOException, AutomationException
getComments
in interface IDocumentInfo
getComments
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setComments(String comments) throws IOException, AutomationException
setComments
in interface IDocumentInfo
setComments
in interface IDocumentInfo2
comments
- The comments (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getKeywords() throws IOException, AutomationException
getKeywords
in interface IDocumentInfo
getKeywords
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeywords(String keywords) throws IOException, AutomationException
setKeywords
in interface IDocumentInfo
setKeywords
in interface IDocumentInfo2
keywords
- The keywords (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHyperlinkBase() throws IOException, AutomationException
getHyperlinkBase
in interface IDocumentInfo
getHyperlinkBase
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHyperlinkBase(String path) throws IOException, AutomationException
setHyperlinkBase
in interface IDocumentInfo
setHyperlinkBase
in interface IDocumentInfo2
path
- The path (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSavePreview() throws IOException, AutomationException
isSavePreview
in interface IDocumentInfo
isSavePreview
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSavePreview(boolean savePreview) throws IOException, AutomationException
setSavePreview
in interface IDocumentInfo
setSavePreview
in interface IDocumentInfo2
savePreview
- The savePreview (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCredits() throws IOException, AutomationException
getCredits
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCredits(String credits) throws IOException, AutomationException
setCredits
in interface IDocumentInfo2
credits
- The credits (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRelativePaths() throws IOException, AutomationException
isRelativePaths
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelativePaths(boolean useRelativePaths) throws IOException, AutomationException
setRelativePaths
in interface IDocumentInfo2
useRelativePaths
- The useRelativePaths (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getPath() throws IOException, AutomationException
getPath
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFolder() throws IOException, AutomationException
getFolder
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDateSaved() throws IOException, AutomationException
getDateSaved
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDatePrinted() throws IOException, AutomationException
getDatePrinted
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDateExported() throws IOException, AutomationException
getDateExported
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |