|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.datasourcesraster.IRasterWorkspaceProxy
public class IRasterWorkspaceProxy
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 ) );
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IRasterWorkspaceProxy()
|
|
IRasterWorkspaceProxy(Object obj)
|
protected |
IRasterWorkspaceProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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. |
void |
removeListener(String iidStr,
Object theListener)
|
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public IRasterWorkspaceProxy()
public IRasterWorkspaceProxy(Object obj)
throws IOException
IOException
protected IRasterWorkspaceProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public IRasterDataset openRasterDataset(String name)
throws IOException,
AutomationException
openRasterDataset in interface IRasterWorkspacename - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isWorkspace(String name)
throws IOException,
AutomationException
isWorkspace in interface IRasterWorkspacename - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canCopy()
throws IOException,
AutomationException
canCopy in interface IRasterWorkspaceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataset copy(String copyName,
IWorkspace copyWorkspace)
throws IOException,
AutomationException
copy in interface IRasterWorkspacecopyName - 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 | ||||||||