|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.LayerFile
public class LayerFile
COM Class 'LayerFile'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'The LayerFile coclass is used to read and write layer document files.' 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.ILayerFile |
---|
IID, IID58478051_486a_4093_a620_a558af78baf5, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IDocumentVersion |
---|
IID, IIDecc43c55_0148_4ec1_bf87_b9a183c5dc98, xxDummy |
Constructor Summary | |
---|---|
LayerFile()
Constructs a LayerFile using ArcGIS Engine. |
|
LayerFile(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LayerFile theLayerFile = (LayerFile) obj; |
Method Summary | |
---|---|
void |
close()
Close the layer file. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
esri_new(java.lang.String sFile)
Creates and opens a new layer File in preparation for the contents to be retrieve or updated. |
static java.lang.String |
getClsid()
getClsid. |
int |
getDocumentVersion()
The version of the document to save. |
java.lang.String |
getFilename()
The name of the layer file that the LayerFile coclass is linked to. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
ILayer |
getLayer()
The Layer object. |
IPicture |
getThumbnail()
The thumbnail stored in the layer file. |
int |
hashCode()
the hashcode for this object |
boolean |
isLayerFile(java.lang.String sFile)
Indicates if the file is a valid layer file. |
boolean |
isPresent(java.lang.String sFile)
Indicates if the layer file is present. |
boolean |
isReadOnly(java.lang.String sFile)
Indicates if the layer file is read only. |
void |
open(java.lang.String sFile)
Open the layer file in preparation for the contents to be retrieved or updated. |
void |
release()
Release a LayerFile. |
void |
replaceContents(ILayer pLayer)
Replace the contents of the layer file. |
void |
save()
Save the contents of the layer file to the bound file. |
void |
saveAs(java.lang.String sFile)
Save the contents of the layer file to the specified file name. |
void |
setDocumentVersion(int docVersion)
The version of the document to save. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayerFile() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic LayerFile(java.lang.Object obj) throws java.io.IOException
LayerFile theLayerFile = (LayerFile) obj;
obj
to LayerFile
.
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 java.lang.String getFilename() throws java.io.IOException, AutomationException
getFilename
in interface ILayerFile
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLayerFile(java.lang.String sFile) throws java.io.IOException, AutomationException
isLayerFile
in interface ILayerFile
sFile
- The sFile (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPresent(java.lang.String sFile) throws java.io.IOException, AutomationException
isPresent
in interface ILayerFile
sFile
- The sFile (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReadOnly(java.lang.String sFile) throws java.io.IOException, AutomationException
isReadOnly
in interface ILayerFile
sFile
- The sFile (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer() throws java.io.IOException, AutomationException
getLayer
in interface ILayerFile
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPicture getThumbnail() throws java.io.IOException, AutomationException
getThumbnail
in interface ILayerFile
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_new(java.lang.String sFile) throws java.io.IOException, AutomationException
esri_new
in interface ILayerFile
sFile
- The sFile (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void open(java.lang.String sFile) throws java.io.IOException, AutomationException
open
in interface ILayerFile
sFile
- The sFile (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 ILayerFile
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceContents(ILayer pLayer) throws java.io.IOException, AutomationException
replaceContents
in interface ILayerFile
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save() throws java.io.IOException, AutomationException
save
in interface ILayerFile
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveAs(java.lang.String sFile) throws java.io.IOException, AutomationException
saveAs
in interface ILayerFile
sFile
- The sFile (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentVersion(int docVersion) throws java.io.IOException, AutomationException
setDocumentVersion
in interface IDocumentVersion
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentVersion() throws java.io.IOException, AutomationException
getDocumentVersion
in interface IDocumentVersion
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 |