com.esri.arcgis.carto
Interface IDataBrowser

All Superinterfaces:
Serializable
All Known Implementing Classes:
IDataBrowserProxy

public interface IDataBrowser
extends Serializable

Provides access to members that control the data browser.

Remarks

Developers can implement this interface as a shortcut for obtaining references to workspaces and data through one common interface, the interface is not currently implemented by any classes provided with ArcGIS.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 IEnumWorkspace getDatabases()
          The database connections installed on the machine.
 IEnumDataset getDatasets(IWorkspace workspace)
          The datasets registered in the catalog under the specified workspace.
 IEnumFeatureClass getFeatureClasses(IDataset dataset)
          The feature classes registered in the catalog under the specified dataset.
 IEnumWorkspace getWorkspaces(String path)
          The workspaces in the specified path.
 

Method Detail

getDatabases

IEnumWorkspace getDatabases()
                            throws IOException,
                                   AutomationException
The database connections installed on the machine.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumWorkspace
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaces

IEnumWorkspace getWorkspaces(String path)
                             throws IOException,
                                    AutomationException
The workspaces in the specified path.

Product Availability

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

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

getDatasets

IEnumDataset getDatasets(IWorkspace workspace)
                         throws IOException,
                                AutomationException
The datasets registered in the catalog under the specified workspace.

Product Availability

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

Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureClasses

IEnumFeatureClass getFeatureClasses(IDataset dataset)
                                    throws IOException,
                                           AutomationException
The feature classes registered in the catalog under the specified dataset.

Product Availability

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

Parameters:
dataset - A reference to a com.esri.arcgis.geodatabase.IDataset (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumFeatureClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.