com.esri.arcgis.display
Class IStyleImporterProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.display.IStyleImporterProxy
All Implemented Interfaces:
IStyleImporter, Externalizable, Serializable

public class IStyleImporterProxy
extends com.esri.arcgis.interop.Dispatch
implements IStyleImporter, Serializable

Provides access to members that import styles.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IStyleImporterProxy()
           
  IStyleImporterProxy(Object obj)
           
protected IStyleImporterProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void esri_import(String fileName)
          Imports the specified file into the Style Gallery.
 String getFileFilter()
          The file extension(s) for files supported by this style importer.
 boolean isCanImport(String fileName)
          Indicates if the specified file can be imported.
 void removeListener(String iidStr, Object theListener)
           
 
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

noncastable

public boolean noncastable
Constructor Detail

IStyleImporterProxy

public IStyleImporterProxy()

IStyleImporterProxy

public IStyleImporterProxy(Object obj)
                    throws IOException
Throws:
IOException

IStyleImporterProxy

protected IStyleImporterProxy(Object obj,
                              String iid)
                       throws IOException
Throws:
IOException
Method Detail

addListener

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

removeListener

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

isCanImport

public boolean isCanImport(String fileName)
                    throws IOException,
                           AutomationException
Indicates if the specified file can be imported.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isCanImport in interface IStyleImporter
Parameters:
fileName - The fileName (in)
Returns:
The canImport
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_import

public void esri_import(String fileName)
                 throws IOException,
                        AutomationException
Imports the specified file into the Style Gallery.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
esri_import in interface IStyleImporter
Parameters:
fileName - The fileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileFilter

public String getFileFilter()
                     throws IOException,
                            AutomationException
The file extension(s) for files supported by this style importer. If there is more than one, then they are separated with ';'.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFileFilter in interface IStyleImporter
Returns:
The fileExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.