|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesraster.RasterCatalogLoader
public class RasterCatalogLoader
A raster catalog loader class.
The RasterCatalogLoader object provides functions for loading raster datasets or directories of raster datasets to a geodatabase raster catalog. If the raster datasets have transformation information associated, it can be kept separated as property of the raster or be applied to the output raster. If the raster datasets have different spatial reference from the raster catalog, the rasters can either be projected or kept intact.
IRasterCatalog
,
Serialized FormConstructor Summary | |
---|---|
RasterCatalogLoader()
Constructs a RasterCatalogLoader using ArcGIS Engine. |
|
RasterCatalogLoader(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterCatalogLoader theRasterCatalogLoader = (RasterCatalogLoader) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
Object |
getBackground()
The background value to filtered. |
static String |
getClsid()
getClsid. |
IPropertySet |
getConnectionProperties()
The GeoDatabase connection properties. |
Object |
getForeground()
The foreground value for 1-Bit images. |
Object |
getIgnoreValues()
The ignore values for statistics. |
String |
getInvalidDatasets()
The current list of newline delimited failed dataset names. |
IErrorInfo |
getLastError()
The last loading error. |
String |
getLastLoadedDataset()
The last loaded dataset name. |
IRasterStorageDef |
getStorageDef()
The GeoDatabase storage definition. |
IWorkspace |
getWorkspace()
The GeoDatabase workspace. |
int |
getXSkipFactor()
The X skip factor for statistics. |
int |
getYSkipFactor()
The Y skip factor for statistics. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isEnableBuildStatistics()
Indicates if statistics should be built on loading. |
boolean |
isProjected()
Indicates if datasets are to be reprojected on loading. |
boolean |
isTransformed()
Indicates if datasets are to be transformed on loading. |
void |
load(String catalog,
String directory,
ITrackCancel pCancelTracker)
Loads all raster datasets in a given directory into a raster catalog. |
void |
loadDatasets(String catalog,
String namelist,
ITrackCancel pCancelTracker)
Loads all raster datasets in a given name list file into a raster catalog. |
void |
setBackground(Object background)
The background value to filtered. |
void |
setConnectionPropertiesByRef(IPropertySet ppConnectionProperties)
The GeoDatabase connection properties. |
void |
setEnableBuildStatistics(boolean pEnableBuildStats)
Indicates if statistics should be built on loading. |
void |
setForeground(Object foreground)
The foreground value for 1-Bit images. |
void |
setIgnoreValues(Object vIgnoreValues)
The ignore values for statistics. |
void |
setProjected(boolean projected)
Indicates if datasets are to be reprojected on loading. |
void |
setStorageDefByRef(IRasterStorageDef ppStorageDef)
The GeoDatabase storage definition. |
void |
setTransformed(boolean xformed)
Indicates if datasets are to be transformed on loading. |
void |
setWorkspaceByRef(IWorkspace pWorkspace)
The GeoDatabase workspace. |
void |
setXSkipFactor(int xSkipFactor)
The X skip factor for statistics. |
void |
setYSkipFactor(int ySkipFactor)
The Y skip factor for statistics. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public RasterCatalogLoader() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterCatalogLoader(Object obj) throws IOException
RasterCatalogLoader theRasterCatalogLoader = (RasterCatalogLoader) obj;
obj
to RasterCatalogLoader
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IPropertySet getConnectionProperties() throws IOException, AutomationException
getConnectionProperties
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConnectionPropertiesByRef(IPropertySet ppConnectionProperties) throws IOException, AutomationException
setConnectionPropertiesByRef
in interface IRasterCatalogLoader
ppConnectionProperties
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWorkspace getWorkspace() throws IOException, AutomationException
getWorkspace
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWorkspaceByRef(IWorkspace pWorkspace) throws IOException, AutomationException
setWorkspaceByRef
in interface IRasterCatalogLoader
pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getBackground() throws IOException, AutomationException
getBackground
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackground(Object background) throws IOException, AutomationException
setBackground
in interface IRasterCatalogLoader
background
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getForeground() throws IOException, AutomationException
getForeground
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setForeground(Object foreground) throws IOException, AutomationException
setForeground
in interface IRasterCatalogLoader
foreground
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRasterStorageDef getStorageDef() throws IOException, AutomationException
getStorageDef
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStorageDefByRef(IRasterStorageDef ppStorageDef) throws IOException, AutomationException
setStorageDefByRef
in interface IRasterCatalogLoader
ppStorageDef
- A reference to a com.esri.arcgis.geodatabase.IRasterStorageDef (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isTransformed() throws IOException, AutomationException
isTransformed
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransformed(boolean xformed) throws IOException, AutomationException
setTransformed
in interface IRasterCatalogLoader
xformed
- The xformed (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isProjected() throws IOException, AutomationException
isProjected
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setProjected(boolean projected) throws IOException, AutomationException
When it is set to be TRUE, the raster will be transformed first if it has a transformation and then proejcted.
setProjected
in interface IRasterCatalogLoader
projected
- The projected (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnableBuildStatistics() throws IOException, AutomationException
isEnableBuildStatistics
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnableBuildStatistics(boolean pEnableBuildStats) throws IOException, AutomationException
setEnableBuildStatistics
in interface IRasterCatalogLoader
pEnableBuildStats
- The pEnableBuildStats (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getXSkipFactor() throws IOException, AutomationException
getXSkipFactor
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setXSkipFactor(int xSkipFactor) throws IOException, AutomationException
setXSkipFactor
in interface IRasterCatalogLoader
xSkipFactor
- The xSkipFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getYSkipFactor() throws IOException, AutomationException
getYSkipFactor
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setYSkipFactor(int ySkipFactor) throws IOException, AutomationException
setYSkipFactor
in interface IRasterCatalogLoader
ySkipFactor
- The ySkipFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getIgnoreValues() throws IOException, AutomationException
getIgnoreValues
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIgnoreValues(Object vIgnoreValues) throws IOException, AutomationException
setIgnoreValues
in interface IRasterCatalogLoader
vIgnoreValues
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(String catalog, String directory, ITrackCancel pCancelTracker) throws IOException, AutomationException
load
in interface IRasterCatalogLoader
catalog
- The catalog (in)directory
- The directory (in)pCancelTracker
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadDatasets(String catalog, String namelist, ITrackCancel pCancelTracker) throws IOException, AutomationException
loadDatasets
in interface IRasterCatalogLoader
catalog
- The catalog (in)namelist
- The namelist (in)pCancelTracker
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IErrorInfo getLastError() throws IOException, AutomationException
getLastError
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getInvalidDatasets() throws IOException, AutomationException
getInvalidDatasets
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLastLoadedDataset() throws IOException, AutomationException
getLastLoadedDataset
in interface IRasterCatalogLoader
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 |