|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterWorkspace
Provides access to members that control a raster workspace.
IRasterWorspace is used to access a raster stored in a file system in any supported raster format. RasterWorkspaceFactory must be used to create a raster workspace.
To access raster from geodatabase, use IRasterWorkspaceEx interface.
// Create RasterWorkspaceFactory
IWorkspaceFactory rasWkspFactory = new RasterWorkspaceFactory();
// Get RasterWorkspace
IRasterWorkspace rasWksp =
new IRasterWorkspaceProxy(rasWkspFactory.openFromFile( aPath, 0 ) );
Method Summary | |
---|---|
boolean |
canCopy()
Indicates if this dataset can be copied. |
IDataset |
copy(String copyName,
IWorkspace copyWorkspace)
Copies this workspace to a new workspace with the specified name. |
boolean |
isWorkspace(String name)
Indicates if the file path specified is a raster workspace. |
IRasterDataset |
openRasterDataset(String name)
Opens a RasterDataset in the workspace given its name. |
Method Detail |
---|
IRasterDataset openRasterDataset(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isWorkspace(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean canCopy() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IDataset copy(String copyName, IWorkspace copyWorkspace) throws IOException, AutomationException
copyName
- The copyName (in)copyWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (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 |