com.esri.arcgis.geoprocessing
Interface IGPToolboxFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
IGPToolboxFactoryProxy

public interface IGPToolboxFactory
extends Serializable

Provides access to methods on the toolbox factory object.

Product Availability

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


Method Summary
 IGPToolbox create(String path)
          Creates a new toolbox.
 IGPToolbox openFromFile(String path)
          Opens the specified toolbox from a file.
 

Method Detail

openFromFile

IGPToolbox openFromFile(String path)
                        throws IOException,
                               AutomationException
Opens the specified toolbox from a file.

Product Availability

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

Supported Platforms

Windows

Parameters:
path - The path (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPToolbox
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

IGPToolbox create(String path)
                  throws IOException,
                         AutomationException
Creates a new toolbox.

Product Availability

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

Supported Platforms

Windows

Parameters:
path - The path (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPToolbox
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.