com.esri.arcgis.datasourcesraster
Class RasterDataset

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterDataset
All Implemented Interfaces:
IRasterBandCollection, IRasterDatasetJukebox, IRasterPyramid, IRasterPyramid2, IRasterPyramid3, IRawBlocks, ITemporaryDataset, IWorldFileExport, IWorldFileExport2, IDataset, IDatasetAnalyze, IDatasetFileStat, IGeoDataset, IGeoDatasetSchemaEdit, IGeoDatasetSchemaEdit2, IMetadata, IMetadataEdit, INativeTypeInfo, IRasterDataset, IRasterDataset2, IRasterDataset3, IRasterDatasetEdit, IRasterDatasetEdit2, IRasterDatasetEdit3, ISaveAs, ISaveAs2, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class RasterDataset
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterDataset, IRasterDataset2, IRasterDataset3, IRasterDatasetEdit, IRasterDatasetEdit2, IRasterDatasetEdit3, IDataset, IGeoDataset, IGeoDatasetSchemaEdit, IGeoDatasetSchemaEdit2, IRasterBandCollection, IRasterPyramid, IRasterPyramid2, IRasterPyramid3, IMetadata, IMetadataEdit, INativeTypeInfo, ITemporaryDataset, IDatasetAnalyze, IDatasetFileStat, ISupportErrorInfo, IWorldFileExport, IWorldFileExport2, IRasterDatasetJukebox, ISaveAs, ISaveAs2, IRawBlocks

COM Class 'RasterDataset'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'A representation of a raster dataset on disk.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRasterDataset3
IID, IID2c046294_251c_43b4_8cff_d80c24dec088, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRasterDataset2
IID76aa6a59_25b4_4f26_9079_7a634759fed9
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRasterDataset
IID7aca3d01_0629_11d2_8d24_0000f8780535
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRasterDatasetEdit3
IID, IID8e68e3da_30d6_492b_b12e_ca2669a106ef, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRasterDatasetEdit2
IID24217915_7f69_4317_b0e0_908400e578c4
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRasterDatasetEdit
IIDba86a917_98ec_4994_b692_760abedcc306
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDataset
IID, IID2d04c042_7766_11d0_b77d_00805f7ced21, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IGeoDatasetSchemaEdit2
IID, IID0a6a2faa_047d_4792_8732_d766d496beca, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IGeoDatasetSchemaEdit
IID6b267c02_28cc_11d3_9f67_00c04f6bdf0c
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterBandCollection
IID, IID7aca3d10_0629_11d2_8d24_0000f8780535, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterPyramid3
IID, IID31ed1fa3_3850_4ce2_9ce4_0d40701024d6, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterPyramid2
IIDf4e73742_71c1_425e_b889_e4fad1ea63d0
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterPyramid
IID81bd0a10_6fb6_11d3_a407_0004ac1b1d86
 
Fields inherited from interface com.esri.arcgis.geodatabase.IMetadata
IID, IID5de04a82_24e4_11d3_a641_0008c7d3ae50, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IMetadataEdit
IID, IID97fdb978_62a4_49c5_8252_b07837b33ee9, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.INativeTypeInfo
IID, IID906db24a_f0ad_4ca5_871b_5466e54fab80, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.ITemporaryDataset
IID, IIDc9e5b7d0_3758_11d4_a421_0004ac1b1d86, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetAnalyze
IID, IID60262917_d53f_4e0b_86ff_a916c3fb26bc, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetFileStat
IID, IID52d4a757_df71_47e0_aab8_ee302eb7acab, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IWorldFileExport
IID, IID7d436852_ebea_11d4_b2b0_00508bcdc74b, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IWorldFileExport2
IID, IIDde7a3592_7add_4929_9773_27eba630ef35, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterDatasetJukebox
IID, IID93607a44_e66b_4e6f_bd9b_e34cb8de213e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISaveAs2
IID, IIDba3968e7_a18b_416d_8140_e4a06068cf1b, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISaveAs
IIDc7a92e97_597e_4a69_a872_29cb60b5e0db
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRawBlocks
IID, IIDf20ff8ff_643a_4669_a465_e14a5095e7dd, xxDummy
 
Constructor Summary
RasterDataset()
          Constructs a RasterDataset using ArcGIS Engine.
RasterDataset(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterDataset theRasterDataset = (RasterDataset) obj;
 
Method Summary
 void add(IRasterBand element, int index)
          Adds a RasterBand to the band collection.
 void alterAttributeTable(ITable newTable)
          Alters the raster attribute table.
 void alterColormap(IRasterColormap colormap)
          Alters colormap.
 void alterGeodataXform(IGeodataXform xform)
          Alters the geodata transformation of the dataset (does not transform the data).
 void alterResolution(double xyResolution, double zResolution, double mResolution)
          Alters the resolution of the dataset and rebuilds the spatial indexes.
 void alterSpatialReference(ISpatialReference spatialReference)
          Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.
 void analyze(int tableComponents)
          Analyze the data to update/generate DBMS statistics.
 void appendBand(IRasterBand element)
          Appends a RasterBand to the band collection.
 void appendBands(IRasterBandCollection bands)
          Appends a collection of RasterBands to the band collection.
 void appendNewBand()
          Appends a new raster band.
 void basicOpenFromFile(java.lang.String path)
          Opens the dataset from file.
 void buildAttributeTable()
          Builds the raster attribute table.
 void buildPyramid(int maxLevel, int method)
          Builds pyramid for this RasterDataset.
 boolean canCopy()
          Returns true if this dataset can be copied.
 boolean canDelete()
          True if this dataset can be deleted.
 boolean canRename()
          True if this dataset can be renamed.
 boolean canSaveAs(java.lang.String format)
          Checks if it's can be saved as a new persistent Dataset of a given format.
 void clear()
          Removes all the elements in the collection.
 void computeStatisticsHistogram(int skipx, int skipy, java.lang.Object ignoreValues, boolean requireHistogram)
          Computes statistics and histogram for a skip factor and a list of Ignore vlaues.
 void computeStats(int pyramidLevel)
          Calculates statistics and histograms from a given pyramid level.
 void constructResolutions(ISpatialReference spatialReference, int numberRequested, int[] defaultXYResolutionIndex, IDoubleArray[] xyResolutions, IDoubleArray[] zResolutions, IDoubleArray[] mResolutions)
          Returns a list of possible resolutions (precisions) and the doubling factors that produce them from the specified low precision spatial reference.
 IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace)
          Copies this dataset to a new dataset with the specified name.
 void create()
          Build raster pyramids for this raster.
 IRaster createDefaultRaster()
          Creates a raster object with the default properties for this dataset.
 IRaster createFullRaster()
          Creates a raster containing all bands in this raster dataset.
 IPixelBlock createPixelBlock()
          Create a compatible pixel block.
 IRaster createRaster()
          Creates an empty raster.
 void delete()
          Deletes this dataset.
 void deleteAttributeTable()
          Deletes the raster attribute table.
 void deleteColormap()
          Deletes colormap.
 void deletePyramid()
          Deletes pyramid for this RasterDataset.
 void deleteStats()
          Deletes statistics and histograms.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void erase(IEnvelope extent)
          Erases a rectanglar area of this RasterDataset.
 void flush()
          Flushes buffered data.
 int getAllowableComponents()
          The allowable components to be analyzed.
 IRasterBand getBandByName(java.lang.String name)
          A RasterBand given its name.
 int getBandIndex(java.lang.String name)
          The index of a RasterBand given its name.
 IEnumRasterBand getBands()
          All the bands in the collection as an interface to the RasterBands enumerator object.
 int getBlockHeight()
          The native block height.
 int getBlockWidth()
          The native block width.
 java.lang.String getBrowseName()
          The browse name of the dataset.
 java.lang.String getCategory()
          The category of the dataset.
static java.lang.String getClsid()
          getClsid.
 java.lang.String getCompleteName()
          The full path of the RasterDataset.
 java.lang.String getCompressionType()
          The compression technique applied to this RasterDataset.
 int getCount()
          The number of bands in the collection.
 IEnvelope getExtent()
          The extent of the GeoDataset.
 int getFirstPyramidLevel()
          The first available pyramid level.
 java.lang.String getFormat()
          The format of this RasterRataset.
 IName getFullName()
          The associated name object.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IRasterLODInfos getLODInfos()
          The custom LOD infos.
 int getMaximumPyramidLevel()
          The maximum available pyramid level.
 IPropertySet getMetadata()
          The PropertySet containing metadata.
 IPnt getMinimumSize()
          The minimum raster pyramid size.
 java.lang.String getName()
          The name of the Dataset.
 INativeType getNativeType()
          The native type.
 IPropertySet getPropertySet()
          The set of properties for the dataset.
 int getPyramidLevel()
          The pyramid level.
 int getPyramidResamplingMethod()
          The pyramid resampling method.
 IRasterInfo getRasterInfo()
          The raster information.
 java.lang.String getSensorType()
          The sensor type used for this RasterDataset.
 ISpatialReference getSpatialReference()
          The spatial reference of the GeoDataset.
 int getStatMode()
          The access mode.
 int getStatSize()
          The size.
 int getStatTime(int dateMode)
          The date modified/created/accessed.
 int getSubdataset()
          The current active subdataset.
 int getSubdatasetCount()
          The number of subdatasets.
 java.lang.String getSubdatasetDescription(int subdatasetID)
          The given subdataset description.
 java.lang.String getSubdatasetName(int subdatasetID)
          The given subdataset name.
 IEnumDataset getSubsets()
          Datasets contained within this dataset.
 int getType()
          The type of the Dataset.
 IWorkspace getWorkspace()
          The workspace containing this dataset.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isCanAlterAttributeTable()
          Indicates if the raster attribute table can be altered.
 boolean isCanAlterGeodataXform()
          Indicates if the geodata transformation of the dataset can be altered.
 boolean isCanAlterSpatialReference()
          Indicates if the spatial reference of the dataset can be altered.
 boolean isCanEditMetadata()
          Indicates if metadata can be edited.
 boolean isCanWrite()
          Indicates if this RasterDataset is writable.
 boolean isEmpty()
          Indicates whether the raster dataset is empty.
 boolean isPresent()
          Indicates whether pyramid layers exist.
 boolean isTemporary()
          Indicates if the dataset is temporary.
 IRasterBand item(int bandIndex)
          Returns a RasterBand given its index.
 void makePermanent()
          Persists this temporary dataset permanent.
 IDataset makePermanentAs(java.lang.String new_name, IWorkspace workspace, java.lang.String format)
          Persists this temporary dataset to a new permanent dataset.
 void mosaic(IRaster raster, double tolerance)
          Mosaics a Raster into this RasterDataset.
 void mosaicBands(IRaster raster, int start, double tolerance)
          Mosaics a Raster into this RasterDataset at a given starting band index.
 void openFromFile(java.lang.String path)
          Attaches dataset to a particular file.
 void precalculateStats(java.lang.Object index_list)
          Calculates statistics and histograms for specified bands.
 void read(IPnt tlc, IRaster raster, IPixelBlock pixelBlock)
          Reads a block of pixels starting from the top left corner.
 void readBlock(int tx, int ty, int level, IPixelBlock pPixelBlock)
          Reads a raw pixel block.
 void readPyramid(IPnt tlc, int pyramidLevel, IRaster raster, IPixelBlock pixelBlock)
          Reads a block of pixels at a given pyramid level.
 void refresh()
          Refreshes opened RasterDataset.
 void release()
          Release a RasterDataset.
 void remove(int index)
          Removes an element from the collection.
 void rename(java.lang.String name)
          Renames this Dataset.
 IDataset saveAs(java.lang.String new_name, IWorkspace worksp, java.lang.String format)
          Creates a new persistent RasterDataset with the bands in the collection.
 IRasterDataset saveAsRasterDataset(java.lang.String name, IWorkspace workspace, java.lang.String format, IRasterStorageDef storageDef)
          Creates a new persistent Raster Dataset of a given format and specified storage definition.
 void setBrowseName(java.lang.String name)
          The browse name of the dataset.
 void setMetadata(IPropertySet propertySet)
          The PropertySet containing metadata.
 void setMinimumSize(IPnt ppVal)
          The minimum raster pyramid size.
 void setSubdataset(int pSubdatasetID)
          The current active subdataset.
 void synchronize(int action, int interval)
          Updates metadata with the current properties; may create metadata if it doesn't already exist.
 void write()
          Creates a World File.
 void write(IPnt tlc, IRaster raster, int mode, IPixelBlock pixelBlock)
          Writes a block of pixels starting from the top left corner.
 void writeBinaryAuxFile()
          Create a binary AUX file containing georeferencing and spatial reference.
 void writeBlock(int tx, int ty, int level, IPixelBlock pPixelBlock)
          Writes a raw pixel block.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterDataset

public RasterDataset()
              throws java.io.IOException,
                     java.net.UnknownHostException
Constructs a RasterDataset using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RasterDataset

public RasterDataset(java.lang.Object obj)
              throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterDataset theRasterDataset = (RasterDataset) obj;

Construct a RasterDataset using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterDataset.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RasterDataset.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getFormat

public java.lang.String getFormat()
                           throws java.io.IOException,
                                  AutomationException
The format of this RasterRataset.

Specified by:
getFormat in interface IRasterDataset
Returns:
The format
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSensorType

public java.lang.String getSensorType()
                               throws java.io.IOException,
                                      AutomationException
The sensor type used for this RasterDataset.

Specified by:
getSensorType in interface IRasterDataset
Returns:
The sensorType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCompressionType

public java.lang.String getCompressionType()
                                    throws java.io.IOException,
                                           AutomationException
The compression technique applied to this RasterDataset.

Specified by:
getCompressionType in interface IRasterDataset
Returns:
The comp
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createDefaultRaster

public IRaster createDefaultRaster()
                            throws java.io.IOException,
                                   AutomationException
Creates a raster object with the default properties for this dataset.

Specified by:
createDefaultRaster in interface IRasterDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canCopy

public boolean canCopy()
                throws java.io.IOException,
                       AutomationException
Returns true if this dataset can be copied.

Specified by:
canCopy in interface IDataset
Specified by:
canCopy in interface IRasterDataset
Returns:
The canCopy
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copy

public IDataset copy(java.lang.String copyName,
                     IWorkspace copyWorkspace)
              throws java.io.IOException,
                     AutomationException
Copies this dataset to a new dataset with the specified name.

Specified by:
copy in interface IDataset
Specified by:
copy in interface IRasterDataset
Parameters:
copyName - The copyName (in)
copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openFromFile

public void openFromFile(java.lang.String path)
                  throws java.io.IOException,
                         AutomationException
Attaches dataset to a particular file.

Specified by:
openFromFile in interface IRasterDataset
Parameters:
path - The path (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

precalculateStats

public void precalculateStats(java.lang.Object index_list)
                       throws java.io.IOException,
                              AutomationException
Calculates statistics and histograms for specified bands.

Specified by:
precalculateStats in interface IRasterDataset
Parameters:
index_list - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCompleteName

public java.lang.String getCompleteName()
                                 throws java.io.IOException,
                                        AutomationException
The full path of the RasterDataset.

Specified by:
getCompleteName in interface IRasterDataset
Returns:
The completeName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

basicOpenFromFile

public void basicOpenFromFile(java.lang.String path)
                       throws java.io.IOException,
                              AutomationException
Opens the dataset from file.

Specified by:
basicOpenFromFile in interface IRasterDataset
Parameters:
path - The path (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createRaster

public IRaster createRaster()
                     throws java.io.IOException,
                            AutomationException
Creates an empty raster.

Specified by:
createRaster in interface IRasterDataset2
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFullRaster

public IRaster createFullRaster()
                         throws java.io.IOException,
                                AutomationException
Creates a raster containing all bands in this raster dataset.

Specified by:
createFullRaster in interface IRasterDataset2
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEmpty

public boolean isEmpty()
                throws java.io.IOException,
                       AutomationException
Indicates whether the raster dataset is empty.

Specified by:
isEmpty in interface IRasterDataset2
Returns:
The isEmpty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBlockWidth

public int getBlockWidth()
                  throws java.io.IOException,
                         AutomationException
The native block width.

Specified by:
getBlockWidth in interface IRasterDataset3
Returns:
The width
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBlockHeight

public int getBlockHeight()
                   throws java.io.IOException,
                          AutomationException
The native block height.

Specified by:
getBlockHeight in interface IRasterDataset3
Returns:
The height
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumPyramidLevel

public int getMaximumPyramidLevel()
                           throws java.io.IOException,
                                  AutomationException
The maximum available pyramid level.

Specified by:
getMaximumPyramidLevel in interface IRasterDataset3
Returns:
The maxLevel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFirstPyramidLevel

public int getFirstPyramidLevel()
                         throws java.io.IOException,
                                AutomationException
The first available pyramid level.

Specified by:
getFirstPyramidLevel in interface IRasterDataset3
Returns:
The firstLevel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLODInfos

public IRasterLODInfos getLODInfos()
                            throws java.io.IOException,
                                   AutomationException
The custom LOD infos.

Specified by:
getLODInfos in interface IRasterDataset3
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterLODInfos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanWrite

public boolean isCanWrite()
                   throws java.io.IOException,
                          AutomationException
Indicates if this RasterDataset is writable.

Specified by:
isCanWrite in interface IRasterDataset3
Returns:
The canWrite
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

read

public void read(IPnt tlc,
                 IRaster raster,
                 IPixelBlock pixelBlock)
          throws java.io.IOException,
                 AutomationException
Reads a block of pixels starting from the top left corner.

Specified by:
read in interface IRasterDataset3
Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
pixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

write

public void write(IPnt tlc,
                  IRaster raster,
                  int mode,
                  IPixelBlock pixelBlock)
           throws java.io.IOException,
                  AutomationException
Writes a block of pixels starting from the top left corner.

Specified by:
write in interface IRasterDataset3
Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
mode - A com.esri.arcgis.geodatabase.esriRasterWriteMode constant (in)
pixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh()
             throws java.io.IOException,
                    AutomationException
Refreshes opened RasterDataset.

Specified by:
refresh in interface IRasterDataset3
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readPyramid

public void readPyramid(IPnt tlc,
                        int pyramidLevel,
                        IRaster raster,
                        IPixelBlock pixelBlock)
                 throws java.io.IOException,
                        AutomationException
Reads a block of pixels at a given pyramid level.

Specified by:
readPyramid in interface IRasterDataset3
Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
pyramidLevel - The pyramidLevel (in)
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
pixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mosaic

public void mosaic(IRaster raster,
                   double tolerance)
            throws java.io.IOException,
                   AutomationException
Mosaics a Raster into this RasterDataset.

Specified by:
mosaic in interface IRasterDatasetEdit
Parameters:
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
tolerance - The tolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mosaicBands

public void mosaicBands(IRaster raster,
                        int start,
                        double tolerance)
                 throws java.io.IOException,
                        AutomationException
Mosaics a Raster into this RasterDataset at a given starting band index.

Specified by:
mosaicBands in interface IRasterDatasetEdit
Parameters:
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
start - The start (in)
tolerance - The tolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

erase

public void erase(IEnvelope extent)
           throws java.io.IOException,
                  AutomationException
Erases a rectanglar area of this RasterDataset.

Specified by:
erase in interface IRasterDatasetEdit
Parameters:
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

computeStats

public void computeStats(int pyramidLevel)
                  throws java.io.IOException,
                         AutomationException
Calculates statistics and histograms from a given pyramid level.

Specified by:
computeStats in interface IRasterDatasetEdit
Parameters:
pyramidLevel - The pyramidLevel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteStats

public void deleteStats()
                 throws java.io.IOException,
                        AutomationException
Deletes statistics and histograms.

Specified by:
deleteStats in interface IRasterDatasetEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterColormap

public void alterColormap(IRasterColormap colormap)
                   throws java.io.IOException,
                          AutomationException
Alters colormap.

Specified by:
alterColormap in interface IRasterDatasetEdit
Parameters:
colormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteColormap

public void deleteColormap()
                    throws java.io.IOException,
                           AutomationException
Deletes colormap.

Specified by:
deleteColormap in interface IRasterDatasetEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

appendNewBand

public void appendNewBand()
                   throws java.io.IOException,
                          AutomationException
Appends a new raster band.

Specified by:
appendNewBand in interface IRasterDatasetEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterAttributeTable

public void alterAttributeTable(ITable newTable)
                         throws java.io.IOException,
                                AutomationException
Alters the raster attribute table.

Specified by:
alterAttributeTable in interface IRasterDatasetEdit2
Parameters:
newTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteAttributeTable

public void deleteAttributeTable()
                          throws java.io.IOException,
                                 AutomationException
Deletes the raster attribute table.

Specified by:
deleteAttributeTable in interface IRasterDatasetEdit2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanAlterAttributeTable

public boolean isCanAlterAttributeTable()
                                 throws java.io.IOException,
                                        AutomationException
Indicates if the raster attribute table can be altered.

Specified by:
isCanAlterAttributeTable in interface IRasterDatasetEdit2
Returns:
The canAlter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

buildAttributeTable

public void buildAttributeTable()
                         throws java.io.IOException,
                                AutomationException
Builds the raster attribute table.

Specified by:
buildAttributeTable in interface IRasterDatasetEdit2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

computeStatisticsHistogram

public void computeStatisticsHistogram(int skipx,
                                       int skipy,
                                       java.lang.Object ignoreValues,
                                       boolean requireHistogram)
                                throws java.io.IOException,
                                       AutomationException
Computes statistics and histogram for a skip factor and a list of Ignore vlaues.

Specified by:
computeStatisticsHistogram in interface IRasterDatasetEdit3
Parameters:
skipx - The skipx (in)
skipy - The skipy (in)
ignoreValues - A Variant (in)
requireHistogram - The requireHistogram (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the Dataset.

Specified by:
getName in interface IDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
The associated name object.

Specified by:
getFullName in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBrowseName

public java.lang.String getBrowseName()
                               throws java.io.IOException,
                                      AutomationException
The browse name of the dataset.

Specified by:
getBrowseName in interface IDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBrowseName

public void setBrowseName(java.lang.String name)
                   throws java.io.IOException,
                          AutomationException
The browse name of the dataset.

Specified by:
setBrowseName in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
The type of the Dataset.

Specified by:
getType in interface IDataset
Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
The category of the dataset.

Specified by:
getCategory in interface IDataset
Returns:
The category
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubsets

public IEnumDataset getSubsets()
                        throws java.io.IOException,
                               AutomationException
Datasets contained within this dataset.

Specified by:
getSubsets in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspace

public IWorkspace getWorkspace()
                        throws java.io.IOException,
                               AutomationException
The workspace containing this dataset.

Specified by:
getWorkspace in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertySet

public IPropertySet getPropertySet()
                            throws java.io.IOException,
                                   AutomationException
The set of properties for the dataset.

Specified by:
getPropertySet in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canDelete

public boolean canDelete()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be deleted.

Specified by:
canDelete in interface IDataset
Returns:
The canDelete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Deletes this dataset.

Specified by:
delete in interface IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canRename

public boolean canRename()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be renamed.

Specified by:
canRename in interface IDataset
Returns:
The canRename
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rename

public void rename(java.lang.String name)
            throws java.io.IOException,
                   AutomationException
Renames this Dataset.

Specified by:
rename in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
The spatial reference of the GeoDataset.

Remarks

This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.

Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.

Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSpatialReference in interface IGeoDataset
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The extent of the GeoDataset.

Remarks

The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.

Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.

The red box represents the IGeoDataset extent

If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.

The red box represents the IGeoDataset extent after some of the features have been deleted

If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.

The red box represents the IGeoDataset extent after it has been updated

ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getExtent in interface IGeoDataset
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanAlterSpatialReference

public boolean isCanAlterSpatialReference()
                                   throws java.io.IOException,
                                          AutomationException
Indicates if the spatial reference of the dataset can be altered.

Specified by:
isCanAlterSpatialReference in interface IGeoDatasetSchemaEdit
Returns:
The canAlter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterSpatialReference

public void alterSpatialReference(ISpatialReference spatialReference)
                           throws java.io.IOException,
                                  AutomationException
Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.

Specified by:
alterSpatialReference in interface IGeoDatasetSchemaEdit
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanAlterGeodataXform

public boolean isCanAlterGeodataXform()
                               throws java.io.IOException,
                                      AutomationException
Indicates if the geodata transformation of the dataset can be altered.

Specified by:
isCanAlterGeodataXform in interface IGeoDatasetSchemaEdit2
Returns:
The canAlter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterGeodataXform

public void alterGeodataXform(IGeodataXform xform)
                       throws java.io.IOException,
                              AutomationException
Alters the geodata transformation of the dataset (does not transform the data).

Specified by:
alterGeodataXform in interface IGeoDatasetSchemaEdit2
Parameters:
xform - A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterResolution

public void alterResolution(double xyResolution,
                            double zResolution,
                            double mResolution)
                     throws java.io.IOException,
                            AutomationException
Alters the resolution of the dataset and rebuilds the spatial indexes.

Specified by:
alterResolution in interface IGeoDatasetSchemaEdit2
Parameters:
xyResolution - The xyResolution (in)
zResolution - The zResolution (in)
mResolution - The mResolution (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructResolutions

public void constructResolutions(ISpatialReference spatialReference,
                                 int numberRequested,
                                 int[] defaultXYResolutionIndex,
                                 IDoubleArray[] xyResolutions,
                                 IDoubleArray[] zResolutions,
                                 IDoubleArray[] mResolutions)
                          throws java.io.IOException,
                                 AutomationException
Returns a list of possible resolutions (precisions) and the doubling factors that produce them from the specified low precision spatial reference. The zeroth returned element is the current precision of the spatial reference.

Specified by:
constructResolutions in interface IGeoDatasetSchemaEdit2
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
numberRequested - The numberRequested (in)
defaultXYResolutionIndex - The defaultXYResolutionIndex (out: use single element array)
xyResolutions - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
zResolutions - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
mResolutions - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(IRasterBand element,
                int index)
         throws java.io.IOException,
                AutomationException
Adds a RasterBand to the band collection.

Specified by:
add in interface IRasterBandCollection
Parameters:
element - A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The number of bands in the collection.

Specified by:
getCount in interface IRasterBandCollection
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Removes all the elements in the collection.

Specified by:
clear in interface IRasterBandCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes an element from the collection.

Specified by:
remove in interface IRasterBandCollection
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBandIndex

public int getBandIndex(java.lang.String name)
                 throws java.io.IOException,
                        AutomationException
The index of a RasterBand given its name.

Specified by:
getBandIndex in interface IRasterBandCollection
Parameters:
name - The name (in)
Returns:
The bandIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBandByName

public IRasterBand getBandByName(java.lang.String name)
                          throws java.io.IOException,
                                 AutomationException
A RasterBand given its name.

Specified by:
getBandByName in interface IRasterBandCollection
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterBand
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBands

public IEnumRasterBand getBands()
                         throws java.io.IOException,
                                AutomationException
All the bands in the collection as an interface to the RasterBands enumerator object.

Specified by:
getBands in interface IRasterBandCollection
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IEnumRasterBand
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

item

public IRasterBand item(int bandIndex)
                 throws java.io.IOException,
                        AutomationException
Returns a RasterBand given its index.

Specified by:
item in interface IRasterBandCollection
Parameters:
bandIndex - The bandIndex (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterBand
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAs

public IDataset saveAs(java.lang.String new_name,
                       IWorkspace worksp,
                       java.lang.String format)
                throws java.io.IOException,
                       AutomationException
Creates a new persistent RasterDataset with the bands in the collection.

Specified by:
saveAs in interface IRasterBandCollection
Specified by:
saveAs in interface ISaveAs
Parameters:
new_name - The new_name (in)
worksp - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
format - The format (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

appendBand

public void appendBand(IRasterBand element)
                throws java.io.IOException,
                       AutomationException
Appends a RasterBand to the band collection.

Specified by:
appendBand in interface IRasterBandCollection
Parameters:
element - A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

appendBands

public void appendBands(IRasterBandCollection bands)
                 throws java.io.IOException,
                        AutomationException
Appends a collection of RasterBands to the band collection.

Specified by:
appendBands in interface IRasterBandCollection
Parameters:
bands - A reference to a com.esri.arcgis.datasourcesraster.IRasterBandCollection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPresent

public boolean isPresent()
                  throws java.io.IOException,
                         AutomationException
Indicates whether pyramid layers exist.

Specified by:
isPresent in interface IRasterPyramid
Returns:
The present
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinimumSize

public void setMinimumSize(IPnt ppVal)
                    throws java.io.IOException,
                           AutomationException
The minimum raster pyramid size.

Specified by:
setMinimumSize in interface IRasterPyramid
Parameters:
ppVal - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinimumSize

public IPnt getMinimumSize()
                    throws java.io.IOException,
                           AutomationException
The minimum raster pyramid size.

Specified by:
getMinimumSize in interface IRasterPyramid
Returns:
A reference to a com.esri.arcgis.geodatabase.IPnt
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

public void create()
            throws java.io.IOException,
                   AutomationException
Build raster pyramids for this raster.

Specified by:
create in interface IRasterPyramid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPyramidLevel

public int getPyramidLevel()
                    throws java.io.IOException,
                           AutomationException
The pyramid level.

Specified by:
getPyramidLevel in interface IRasterPyramid2
Returns:
The level
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPyramidResamplingMethod

public int getPyramidResamplingMethod()
                               throws java.io.IOException,
                                      AutomationException
The pyramid resampling method.

Specified by:
getPyramidResamplingMethod in interface IRasterPyramid2
Returns:
A com.esri.arcgis.geodatabase.rstResamplingTypes constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

buildPyramid

public void buildPyramid(int maxLevel,
                         int method)
                  throws java.io.IOException,
                         AutomationException
Builds pyramid for this RasterDataset.

Specified by:
buildPyramid in interface IRasterPyramid2
Parameters:
maxLevel - The maxLevel (in)
method - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deletePyramid

public void deletePyramid()
                   throws java.io.IOException,
                          AutomationException
Deletes pyramid for this RasterDataset.

Specified by:
deletePyramid in interface IRasterPyramid3
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMetadata

public IPropertySet getMetadata()
                         throws java.io.IOException,
                                AutomationException
The PropertySet containing metadata.

Specified by:
getMetadata in interface IMetadata
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMetadata

public void setMetadata(IPropertySet propertySet)
                 throws java.io.IOException,
                        AutomationException
The PropertySet containing metadata.

Specified by:
setMetadata in interface IMetadata
Parameters:
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

synchronize

public void synchronize(int action,
                        int interval)
                 throws java.io.IOException,
                        AutomationException
Updates metadata with the current properties; may create metadata if it doesn't already exist.

Specified by:
synchronize in interface IMetadata
Parameters:
action - A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)
interval - The interval (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanEditMetadata

public boolean isCanEditMetadata()
                          throws java.io.IOException,
                                 AutomationException
Indicates if metadata can be edited.

Specified by:
isCanEditMetadata in interface IMetadataEdit
Returns:
The canEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeType

public INativeType getNativeType()
                          throws java.io.IOException,
                                 AutomationException
The native type.

Specified by:
getNativeType in interface INativeTypeInfo
Returns:
A reference to a com.esri.arcgis.geodatabase.INativeType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isTemporary

public boolean isTemporary()
                    throws java.io.IOException,
                           AutomationException
Indicates if the dataset is temporary.

Specified by:
isTemporary in interface ITemporaryDataset
Returns:
The temporary
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makePermanent

public void makePermanent()
                   throws java.io.IOException,
                          AutomationException
Persists this temporary dataset permanent.

Specified by:
makePermanent in interface ITemporaryDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makePermanentAs

public IDataset makePermanentAs(java.lang.String new_name,
                                IWorkspace workspace,
                                java.lang.String format)
                         throws java.io.IOException,
                                AutomationException
Persists this temporary dataset to a new permanent dataset.

Specified by:
makePermanentAs in interface ITemporaryDataset
Parameters:
new_name - The new_name (in)
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
format - The format (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

analyze

public void analyze(int tableComponents)
             throws java.io.IOException,
                    AutomationException
Analyze the data to update/generate DBMS statistics.

Specified by:
analyze in interface IDatasetAnalyze
Parameters:
tableComponents - The tableComponents (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllowableComponents

public int getAllowableComponents()
                           throws java.io.IOException,
                                  AutomationException
The allowable components to be analyzed.

Specified by:
getAllowableComponents in interface IDatasetAnalyze
Returns:
The allowableComponents
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatTime

public int getStatTime(int dateMode)
                throws java.io.IOException,
                       AutomationException
The date modified/created/accessed.

Specified by:
getStatTime in interface IDatasetFileStat
Parameters:
dateMode - A com.esri.arcgis.geodatabase.esriDatasetFileStatTimeMode constant (in)
Returns:
The time
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatSize

public int getStatSize()
                throws java.io.IOException,
                       AutomationException
The size.

Specified by:
getStatSize in interface IDatasetFileStat
Returns:
The size
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatMode

public int getStatMode()
                throws java.io.IOException,
                       AutomationException
The access mode.

Specified by:
getStatMode in interface IDatasetFileStat
Returns:
A com.esri.arcgis.geodatabase.esriDatasetFileStatAccessMode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

write

public void write()
           throws java.io.IOException,
                  AutomationException
Creates a World File.

Specified by:
write in interface IWorldFileExport
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeBinaryAuxFile

public void writeBinaryAuxFile()
                        throws java.io.IOException,
                               AutomationException
Create a binary AUX file containing georeferencing and spatial reference.

Specified by:
writeBinaryAuxFile in interface IWorldFileExport2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubdatasetCount

public int getSubdatasetCount()
                       throws java.io.IOException,
                              AutomationException
The number of subdatasets.

Specified by:
getSubdatasetCount in interface IRasterDatasetJukebox
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubdataset

public int getSubdataset()
                  throws java.io.IOException,
                         AutomationException
The current active subdataset.

Specified by:
getSubdataset in interface IRasterDatasetJukebox
Returns:
The pSubdatasetID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSubdataset

public void setSubdataset(int pSubdatasetID)
                   throws java.io.IOException,
                          AutomationException
The current active subdataset.

Specified by:
setSubdataset in interface IRasterDatasetJukebox
Parameters:
pSubdatasetID - The pSubdatasetID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubdatasetName

public java.lang.String getSubdatasetName(int subdatasetID)
                                   throws java.io.IOException,
                                          AutomationException
The given subdataset name.

Specified by:
getSubdatasetName in interface IRasterDatasetJukebox
Parameters:
subdatasetID - The subdatasetID (in)
Returns:
The pName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubdatasetDescription

public java.lang.String getSubdatasetDescription(int subdatasetID)
                                          throws java.io.IOException,
                                                 AutomationException
The given subdataset description.

Specified by:
getSubdatasetDescription in interface IRasterDatasetJukebox
Parameters:
subdatasetID - The subdatasetID (in)
Returns:
The pDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canSaveAs

public boolean canSaveAs(java.lang.String format)
                  throws java.io.IOException,
                         AutomationException
Checks if it's can be saved as a new persistent Dataset of a given format.

Specified by:
canSaveAs in interface ISaveAs
Parameters:
format - The format (in)
Returns:
The canSaveAs
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAsRasterDataset

public IRasterDataset saveAsRasterDataset(java.lang.String name,
                                          IWorkspace workspace,
                                          java.lang.String format,
                                          IRasterStorageDef storageDef)
                                   throws java.io.IOException,
                                          AutomationException
Creates a new persistent Raster Dataset of a given format and specified storage definition.

Specified by:
saveAsRasterDataset in interface ISaveAs2
Parameters:
name - The name (in)
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
format - The format (in)
storageDef - A reference to a com.esri.arcgis.geodatabase.IRasterStorageDef (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterInfo

public IRasterInfo getRasterInfo()
                          throws java.io.IOException,
                                 AutomationException
The raster information.

Specified by:
getRasterInfo in interface IRawBlocks
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPixelBlock

public IPixelBlock createPixelBlock()
                             throws java.io.IOException,
                                    AutomationException
Create a compatible pixel block.

Specified by:
createPixelBlock in interface IRawBlocks
Returns:
A reference to a com.esri.arcgis.geodatabase.IPixelBlock
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readBlock

public void readBlock(int tx,
                      int ty,
                      int level,
                      IPixelBlock pPixelBlock)
               throws java.io.IOException,
                      AutomationException
Reads a raw pixel block.

Specified by:
readBlock in interface IRawBlocks
Parameters:
tx - The tx (in)
ty - The ty (in)
level - The level (in)
pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeBlock

public void writeBlock(int tx,
                       int ty,
                       int level,
                       IPixelBlock pPixelBlock)
                throws java.io.IOException,
                       AutomationException
Writes a raw pixel block.

Specified by:
writeBlock in interface IRawBlocks
Parameters:
tx - The tx (in)
ty - The ty (in)
level - The level (in)
pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flush

public void flush()
           throws java.io.IOException,
                  AutomationException
Flushes buffered data.

Specified by:
flush in interface IRawBlocks
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.