com.esri.arcgis.display
Interface IStyleImporter

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IStyleImporterProxy

public interface IStyleImporter
extends java.io.Serializable

Provides access to members that import styles.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void esri_import(java.lang.String fileName)
          Imports the specified file into the Style Gallery.
 java.lang.String getFileFilter()
          The file extension(s) for files supported by this style importer.
 boolean isCanImport(java.lang.String fileName)
          Indicates if the specified file can be imported.
 

Method Detail

isCanImport

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
fileName - The fileName (in)
Returns:
The canImport
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_import

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

Parameters:
fileName - The fileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileFilter

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The fileExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.