|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDataSourceHelperLayer
Provides access to members that help repair/replace data sources at the Layer Level.
| Method Summary | |
|---|---|
void |
findAndReplaceWorkspaceNamePath(ILayer pLayer,
String oldWorkspaceName,
String newWorkspaceName,
boolean validate)
Replaces the layer's workspace path name with the given workspace path name; Also does find and replace of parts of the workspace path name. |
void |
replaceName(ILayer pLayer,
IName pName,
boolean validate)
Replaces the layer's IName with the given IName. |
| Method Detail |
|---|
void replaceName(ILayer pLayer,
IName pName,
boolean validate)
throws IOException,
AutomationException
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)pName - A reference to a com.esri.arcgis.system.IName (in)validate - The validate (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void findAndReplaceWorkspaceNamePath(ILayer pLayer,
String oldWorkspaceName,
String newWorkspaceName,
boolean validate)
throws IOException,
AutomationException
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)oldWorkspaceName - The oldWorkspaceName (in)newWorkspaceName - The newWorkspaceName (in)validate - The validate (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||