com.esri.arcgis.display
Interface IStyleImporter

All Superinterfaces:
Serializable
All Known Implementing Classes:
IStyleImporterProxy

public interface IStyleImporter
extends Serializable

Provides access to members that import styles.

Product Availability

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


Method Summary
 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.
 

Method Detail

isCanImport

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.

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

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.

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

getFileFilter

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

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