|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.MapReader
public class MapReader
COM Class 'MapReader'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'The MapReader component provides programmatic access to the contents of a map document.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.carto.IMapReader |
---|
IID, IIDf543891f_8c43_487d_839e_83d1cd4af33c, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
MapReader()
Constructs a MapReader using ArcGIS Engine. |
|
MapReader(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MapReader theMapReader = (MapReader) obj; |
Method Summary | |
---|---|
void |
close()
Clears out all of the map objects in memory. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
IPropertySet |
getDocumentInfo()
A set of name-value pairs for properties set for the map document (mxd only). |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IMap |
getMap(int index)
The map object at the specified index. |
int |
getMapCount()
The number of maps (data frames) in the document. |
IPageLayout |
getPageLayout()
The PageLayout object. |
Picture |
getThumbnail()
The thumbnail stored in the map document. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isAccessInternalObjects()
Indicates whether the internal objects of the map can be exposed to external clients. |
void |
open(java.lang.String filePath)
Opens an mxd or pmf file stored at the specified path. |
void |
release()
Release a MapReader. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapReader() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic MapReader(java.lang.Object obj) throws java.io.IOException
MapReader theMapReader = (MapReader) obj;
obj
to MapReader
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void open(java.lang.String filePath) throws java.io.IOException, AutomationException
open
in interface IMapReader
filePath
- The filePath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void close() throws java.io.IOException, AutomationException
close
in interface IMapReader
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMapCount() throws java.io.IOException, AutomationException
getMapCount
in interface IMapReader
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getMap(int index) throws java.io.IOException, AutomationException
getMap
in interface IMapReader
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPageLayout getPageLayout() throws java.io.IOException, AutomationException
getPageLayout
in interface IMapReader
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Picture getThumbnail() throws java.io.IOException, AutomationException
getThumbnail
in interface IMapReader
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getDocumentInfo() throws java.io.IOException, AutomationException
getDocumentInfo
in interface IMapReader
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAccessInternalObjects() throws java.io.IOException, AutomationException
isAccessInternalObjects
in interface IMapReader
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.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 |