public class RasterWorkspace extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IWorkspace, IRasterWorkspace, IRasterWorkspace2, IRasterWorkspace3, IDataset, ISupportErrorInfo, IWorkspaceProperties
Description 'The raster workspace object.' 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 =
IID, IIDd4803ee1_79f4_11d0_97fc_0080c7f79481, xxDummyIID, IIDaae25031_35fb_11d2_b1f2_00c04f8edeff, xxDummyIID, IID9fd9a370_1d1b_11d4_abda_0008c73fca1c, xxDummyIID, IID8ff5ce38_bfe5_4cc7_a76c_da1564b560d1, xxDummyIID, IID2d04c042_7766_11d0_b77d_00805f7ced21, xxDummyIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummyIID, IID0f1b2257_e2d8_4046_b749_7ff1b058a943, xxDummy| Constructor and Description |
|---|
RasterWorkspace(java.lang.Object obj)
Construct a RasterWorkspace using a reference to such an object returned from ArcGIS Engine or Server.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCopy()
Indicates if this dataset can be copied.
|
boolean |
canDelete()
True if this dataset can be deleted.
|
boolean |
canRename()
True if this dataset can be renamed.
|
IDataset |
copy(java.lang.String copyName,
IWorkspace copyWorkspace)
Copies this workspace to a new workspace with the specified name.
|
IRasterDataset |
createRasterDataset(java.lang.String name,
java.lang.String format,
IPoint origin,
int columnCount,
int rowCount,
double cellSizeX,
double cellSizeY,
int numBands,
int pixelType,
ISpatialReference spatialReference,
boolean permanent)
Creates a RasterDataset in the workspace given its name.
|
void |
delete()
Deletes this dataset.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
executeSQL(java.lang.String sqlStmt)
Executes the specified SQL statement.
|
boolean |
exists()
Checks if the workspace exists.
|
java.lang.String |
getBrowseName()
The browse name of the dataset.
|
java.lang.String |
getCategory()
The category of the dataset.
|
IPropertySet |
getConnectionProperties()
The connection properties of the workspace.
|
IEnumDatasetName |
getDatasetNames(int datasetType)
The DatasetNames in the workspace.
|
IEnumDataset |
getDatasets(int datasetType)
The datasets in the workspace.
|
IName |
getFullName()
The associated name object.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getName()
The name of the Dataset.
|
java.lang.String |
getPathName()
The file system full path of the workspace.
|
IWorkspaceProperty |
getProperty(int propertyGroup,
int propertyType)
Information about this particular property.
|
IPropertySet |
getPropertySet()
The set of properties for the dataset.
|
IEnumDataset |
getSubsets()
Datasets contained within this dataset.
|
int |
getType()
The Type of the Workspace.
|
IWorkspace |
getWorkspace()
The workspace containing this dataset.
|
IWorkspaceFactory |
getWorkspaceFactory()
The factory that created the workspace.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
boolean |
isDirectory()
TRUE if the workspace is a file system directory.
|
boolean |
isWorkspace(java.lang.String name)
Indicates if the file path specified is a raster workspace.
|
IRasterDataset |
openRasterDataset(java.lang.String name)
Opens a RasterDataset in the workspace given its name.
|
IRasterDataset |
openRasterDatasetFromBytes(byte[] ppBytes,
boolean copy)
Opens a RasterDataset from an in-memry image.
|
void |
release()
Release this COM object reference
|
void |
rename(java.lang.String name)
Renames this Dataset.
|
void |
setBrowseName(java.lang.String name)
The browse name of the dataset.
|
void |
setProperty(int propertyGroup,
int propertyType,
IWorkspaceProperty workspaceProperty)
Information about this particular property.
|
public RasterWorkspace(java.lang.Object obj)
throws java.io.IOException
obj to RasterWorkspace. *
RasterWorkspace o = (RasterWorkspace)obj; // will not work
RasterWorkspace o = new RasterWorkspace(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problems
RasterWorkspace theRasterWorkspace = (RasterWorkspace) obj;public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic IPropertySet getConnectionProperties() throws java.io.IOException, AutomationException
getConnectionProperties in interface IWorkspacejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IWorkspaceFactory getWorkspaceFactory() throws java.io.IOException, AutomationException
getWorkspaceFactory in interface IWorkspacejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumDataset getDatasets(int datasetType) throws java.io.IOException, AutomationException
getDatasets in interface IWorkspacedatasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumDatasetName getDatasetNames(int datasetType) throws java.io.IOException, AutomationException
getDatasetNames in interface IWorkspacedatasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getPathName()
throws java.io.IOException,
AutomationException
getPathName in interface IWorkspacejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getType()
throws java.io.IOException,
AutomationException
getType in interface IDatasetgetType in interface IWorkspacejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isDirectory()
throws java.io.IOException,
AutomationException
isDirectory in interface IWorkspacejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean exists()
throws java.io.IOException,
AutomationException
exists in interface IWorkspacejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void executeSQL(java.lang.String sqlStmt)
throws java.io.IOException,
AutomationException
executeSQL in interface IWorkspacesqlStmt - The sqlStmt (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterDataset openRasterDataset(java.lang.String name) throws java.io.IOException, AutomationException
openRasterDataset in interface IRasterWorkspaceopenRasterDataset in interface IRasterWorkspace2name - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isWorkspace(java.lang.String name)
throws java.io.IOException,
AutomationException
isWorkspace in interface IRasterWorkspaceisWorkspace in interface IRasterWorkspace2name - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canCopy()
throws java.io.IOException,
AutomationException
canCopy in interface IRasterWorkspacecanCopy in interface IDatasetcanCopy in interface IRasterWorkspace2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace) throws java.io.IOException, AutomationException
copy in interface IRasterWorkspacecopy in interface IDatasetcopy in interface IRasterWorkspace2copyName - The copyName (in)copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterDataset createRasterDataset(java.lang.String name, java.lang.String format, IPoint origin, int columnCount, int rowCount, double cellSizeX, double cellSizeY, int numBands, int pixelType, ISpatialReference spatialReference, boolean permanent) throws java.io.IOException, AutomationException
createRasterDataset in interface IRasterWorkspace2name - The name (in)format - The format (in)origin - A reference to a com.esri.arcgis.geometry.IPoint (in)columnCount - The columnCount (in)rowCount - The rowCount (in)cellSizeX - The cellSizeX (in)cellSizeY - The cellSizeY (in)numBands - The numBands (in)pixelType - A com.esri.arcgis.geodatabase.rstPixelType constant (in)spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in, optional, pass 0 if not required)permanent - The permanent (in, optional, pass true if not required)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterDataset openRasterDatasetFromBytes(byte[] ppBytes, boolean copy) throws java.io.IOException, AutomationException
openRasterDatasetFromBytes in interface IRasterWorkspace3ppBytes - An unsigned byte (in)copy - The copy (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IName getFullName() throws java.io.IOException, AutomationException
getFullName in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getBrowseName()
throws java.io.IOException,
AutomationException
getBrowseName in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setBrowseName(java.lang.String name)
throws java.io.IOException,
AutomationException
setBrowseName in interface IDatasetname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getCategory()
throws java.io.IOException,
AutomationException
getCategory in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumDataset getSubsets() throws java.io.IOException, AutomationException
getSubsets in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IWorkspace getWorkspace() throws java.io.IOException, AutomationException
getWorkspace in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getPropertySet() throws java.io.IOException, AutomationException
getPropertySet in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canDelete()
throws java.io.IOException,
AutomationException
canDelete in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void delete()
throws java.io.IOException,
AutomationException
delete in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canRename()
throws java.io.IOException,
AutomationException
canRename in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void rename(java.lang.String name)
throws java.io.IOException,
AutomationException
rename in interface IDatasetname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IWorkspaceProperty getProperty(int propertyGroup, int propertyType) throws java.io.IOException, AutomationException
getProperty in interface IWorkspacePropertiespropertyGroup - A com.esri.arcgis.geodatabase.esriWorkspacePropertyGroupType constant (in)propertyType - The propertyType (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setProperty(int propertyGroup,
int propertyType,
IWorkspaceProperty workspaceProperty)
throws java.io.IOException,
AutomationException
setProperty in interface IWorkspacePropertiespropertyGroup - A com.esri.arcgis.geodatabase.esriWorkspacePropertyGroupType constant (in)propertyType - The propertyType (in)workspaceProperty - A reference to a com.esri.arcgis.geodatabase.IWorkspaceProperty (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.