com.esri.arcgis.datasourcesraster
Class IRasterDatasetJukeboxProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesraster.IRasterDatasetJukeboxProxy
All Implemented Interfaces:
IRasterDatasetJukebox, Externalizable, Serializable

public class IRasterDatasetJukeboxProxy
extends com.esri.arcgis.interop.Dispatch
implements IRasterDatasetJukebox, Serializable

Provides access to members that control subdatasets.

Remarks

Some raster formats can contain multiple subdatasets inside a single file, for example the HDF format. The IRasterDatasetJukebox interface is used to query the number of subdatasets, their names, and the descriptions inside the file and retrive subdatasets, one at a time.

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IRasterDatasetJukeboxProxy()
           
  IRasterDatasetJukeboxProxy(Object obj)
           
protected IRasterDatasetJukeboxProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getSubdataset()
          The current active subdataset.
 int getSubdatasetCount()
          The number of subdatasets.
 String getSubdatasetDescription(int subdatasetID)
          The given subdataset description.
 String getSubdatasetName(int subdatasetID)
          The given subdataset name.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setSubdataset(int pSubdatasetID)
          The current active subdataset.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IRasterDatasetJukeboxProxy

public IRasterDatasetJukeboxProxy()

IRasterDatasetJukeboxProxy

public IRasterDatasetJukeboxProxy(Object obj)
                           throws IOException
Throws:
IOException

IRasterDatasetJukeboxProxy

protected IRasterDatasetJukeboxProxy(Object obj,
                                     String iid)
                              throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getSubdatasetCount

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

Product Availability

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

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

getSubdataset

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

Remarks

This property is used to get/set the index of a subdataset which becomes the current raster dataset

Product Availability

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

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

setSubdataset

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

Product Availability

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

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

getSubdatasetName

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

Product Availability

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

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

getSubdatasetDescription

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

Product Availability

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

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

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException