com.esri.arcgis.carto
Interface IMSDHelper2

All Superinterfaces:
IMSDHelper, java.io.Serializable
All Known Implementing Classes:
IMSDHelper2Proxy, MSDHelper

public interface IMSDHelper2
extends IMSDHelper, java.io.Serializable

COM Interface 'IMSDHelper2'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides methods to open, save, repair mapserver definition files.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID2a400bb8_3083_4abe_9c5d_8fcfce1d2b2c
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.carto.IMSDHelper
IID4c0b3fb1_b9b0_4387_b047_1b9be19098c3
 
Method Summary
 java.lang.String getDatasetFromTable(java.lang.String mapPath, int tableIndex)
          getDatasetFromTable
 java.lang.String getTableDisplayName(java.lang.String mapPath, int tableIndex)
          getTableDisplayName
 int getTables(java.lang.String mapPath)
          getTables
 java.lang.String getWorkspaceConnectionStringFromTable(java.lang.String mapPath, int tableIndex)
          getWorkspaceConnectionStringFromTable
 java.lang.String getWorkspaceFactoryTypeFromTable(java.lang.String mapPath, int tableIndex)
          getWorkspaceFactoryTypeFromTable
 boolean isDataLayer(java.lang.String layerPath)
          isDataLayer
 boolean isTableValid(java.lang.String mapPath, int tableIndex)
          isTableValid
 void putWorkspaceConnectionStringInTable(java.lang.String mapPath, int tableIndex, java.lang.String newWorkspaceConnection, boolean validate)
          putWorkspaceConnectionStringInTable
 boolean relativePaths()
          relativePaths
 
Methods inherited from interface com.esri.arcgis.carto.IMSDHelper
close, getDataset, getLayerDisplayName, getLayers, getLayerType, getMapDisplayName, getMaps, getSubLayers, getWorkspaceConnectionStringFromLayer, getWorkspaceFactoryType, isActiveMap, isLayerValid, open, putWorkspaceConnectionStringInLayer, replaceAll, save, saveAs
 

Field Detail

IID2a400bb8_3083_4abe_9c5d_8fcfce1d2b2c

static final int IID2a400bb8_3083_4abe_9c5d_8fcfce1d2b2c
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

relativePaths

boolean relativePaths()
                      throws java.io.IOException,
                             AutomationException
relativePaths

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

isDataLayer

boolean isDataLayer(java.lang.String layerPath)
                    throws java.io.IOException,
                           AutomationException
isDataLayer

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

getTables

int getTables(java.lang.String mapPath)
              throws java.io.IOException,
                     AutomationException
getTables

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

isTableValid

boolean isTableValid(java.lang.String mapPath,
                     int tableIndex)
                     throws java.io.IOException,
                            AutomationException
isTableValid

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

getDatasetFromTable

java.lang.String getDatasetFromTable(java.lang.String mapPath,
                                     int tableIndex)
                                     throws java.io.IOException,
                                            AutomationException
getDatasetFromTable

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

getWorkspaceFactoryTypeFromTable

java.lang.String getWorkspaceFactoryTypeFromTable(java.lang.String mapPath,
                                                  int tableIndex)
                                                  throws java.io.IOException,
                                                         AutomationException
getWorkspaceFactoryTypeFromTable

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

getWorkspaceConnectionStringFromTable

java.lang.String getWorkspaceConnectionStringFromTable(java.lang.String mapPath,
                                                       int tableIndex)
                                                       throws java.io.IOException,
                                                              AutomationException
getWorkspaceConnectionStringFromTable

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

putWorkspaceConnectionStringInTable

void putWorkspaceConnectionStringInTable(java.lang.String mapPath,
                                         int tableIndex,
                                         java.lang.String newWorkspaceConnection,
                                         boolean validate)
                                         throws java.io.IOException,
                                                AutomationException
putWorkspaceConnectionStringInTable

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

getTableDisplayName

java.lang.String getTableDisplayName(java.lang.String mapPath,
                                     int tableIndex)
                                     throws java.io.IOException,
                                            AutomationException
getTableDisplayName

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