com.esri.arcgis.carto
Class ILayerFileProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.ILayerFileProxy
All Implemented Interfaces:
ILayerFile, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'ILayerFile'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the reading and writing of 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 =

public class ILayerFileProxy
extends com.esri.arcgis.interop.Dispatch
implements ILayerFile, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.carto.ILayerFile
IID, IID58478051_486a_4093_a620_a558af78baf5
 
Constructor Summary
  ILayerFileProxy()
          Deprecated. For internal use only
  ILayerFileProxy(java.lang.Object obj)
          Deprecated.  
protected ILayerFileProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  ILayerFileProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected ILayerFileProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void close()
          Deprecated. Close the layer file.
 void esri_new(java.lang.String sFile)
          Deprecated. Creates and opens a new layer File in preparation for the contents to be retrieve or updated.
 java.lang.String getFilename()
          Deprecated. The name of the layer file that the LayerFile coclass is linked to.
 ILayer getLayer()
          Deprecated. The Layer object.
 IPicture getThumbnail()
          Deprecated. The thumbnail stored in the layer file.
 boolean isLayerFile(java.lang.String sFile)
          Deprecated. Indicates if the file is a valid layer file.
 boolean isPresent(java.lang.String sFile)
          Deprecated. Indicates if the layer file is present.
 boolean isReadOnly(java.lang.String sFile)
          Deprecated. Indicates if the layer file is read only.
 void open(java.lang.String sFile)
          Deprecated. Open the layer file in preparation for the contents to be retrieved or updated.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void replaceContents(ILayer pLayer)
          Deprecated. Replace the contents of the layer file.
 void save()
          Deprecated. Save the contents of the layer file to the bound file.
 void saveAs(java.lang.String sFile)
          Deprecated. Save the contents of the layer file to the specified file name.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

ILayerFileProxy

public ILayerFileProxy(java.lang.String CLSID,
                       java.lang.String host,
                       com.esri.arcgis.interop.AuthInfo authInfo)
                throws java.net.UnknownHostException,
                       java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

ILayerFileProxy

public ILayerFileProxy()
Deprecated. 
For internal use only


ILayerFileProxy

public ILayerFileProxy(java.lang.Object obj)
                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

ILayerFileProxy

protected ILayerFileProxy(java.lang.Object obj,
                          java.lang.String iid)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

ILayerFileProxy

protected ILayerFileProxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getFilename

public java.lang.String getFilename()
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
The name of the layer file that the LayerFile coclass is linked to.

Specified by:
getFilename in interface ILayerFile
Returns:
The sFile
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLayerFile

public boolean isLayerFile(java.lang.String sFile)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Indicates if the file is a valid layer file.

Specified by:
isLayerFile in interface ILayerFile
Parameters:
sFile - The sFile (in)
Returns:
The isLayerFile
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPresent

public boolean isPresent(java.lang.String sFile)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Indicates if the layer file is present.

Specified by:
isPresent in interface ILayerFile
Parameters:
sFile - The sFile (in)
Returns:
The isPresent
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReadOnly

public boolean isReadOnly(java.lang.String sFile)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Indicates if the layer file is read only.

Specified by:
isReadOnly in interface ILayerFile
Parameters:
sFile - The sFile (in)
Returns:
The isReadOnly
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayer

public ILayer getLayer()
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The Layer object. If no layer object is stored in the layer file this returns NULL.

Specified by:
getLayer in interface ILayerFile
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThumbnail

public IPicture getThumbnail()
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
The thumbnail stored in the layer file. If this is empty E_FAIL is returned.

Specified by:
getThumbnail in interface ILayerFile
Returns:
A reference to a com.esri.arcgis.support.ms.stdole.IPicture
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_new

public void esri_new(java.lang.String sFile)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Creates and opens a new layer File in preparation for the contents to be retrieve or updated.

Specified by:
esri_new in interface ILayerFile
Parameters:
sFile - The sFile (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

open

public void open(java.lang.String sFile)
          throws java.io.IOException,
                 AutomationException
Deprecated. 
Open the layer file in preparation for the contents to be retrieved or updated.

Specified by:
open in interface ILayerFile
Parameters:
sFile - The sFile (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

close

public void close()
           throws java.io.IOException,
                  AutomationException
Deprecated. 
Close the layer file.

Specified by:
close in interface ILayerFile
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

replaceContents

public void replaceContents(ILayer pLayer)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Replace the contents of the layer file.

Specified by:
replaceContents in interface ILayerFile
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save()
          throws java.io.IOException,
                 AutomationException
Deprecated. 
Save the contents of the layer file to the bound file.

Specified by:
save in interface ILayerFile
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAs

public void saveAs(java.lang.String sFile)
            throws java.io.IOException,
                   AutomationException
Deprecated. 
Save the contents of the layer file to the specified file name.

Specified by:
saveAs in interface ILayerFile
Parameters:
sFile - The sFile (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.