com.esri.arcgis.system
Class EngineUtilities

java.lang.Object
  extended by com.esri.arcgis.system.EngineUtilities

public class EngineUtilities
extends Object


Constructor Summary
EngineUtilities()
           
 
Method Summary
static Image getImageFromPicture(Picture picture)
          Converts an ArcObjects Picture/IPicture/StdPicture to a Java Image
static IUID getWorkspaceFactoryTypeID(Class clazz)
          Returns the workspace factory type ID for a Java class implementing IPlugInWorkspaceFactoryHelper.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineUtilities

public EngineUtilities()
Method Detail

getImageFromPicture

public static Image getImageFromPicture(Picture picture)
                                 throws IOException
Converts an ArcObjects Picture/IPicture/StdPicture to a Java Image

Parameters:
picture - - this can be a StdPicture, Picture or IPicture
Returns:
the equivalent image in Java
Throws:
IOException

getWorkspaceFactoryTypeID

public static IUID getWorkspaceFactoryTypeID(Class clazz)
                                      throws IOException
Returns the workspace factory type ID for a Java class implementing IPlugInWorkspaceFactoryHelper.

 class PlugInWorkspaceFactoryHelper implements IPlugInWorkspaceFactoryHelper {
... public IUID getWorkspaceFactoryTypeID(){ return EngineUtilities.getWorkspaceFactoryTypeID(this.getClass()); } }

Parameters:
clazz - The class implementing IPlugInWorkspaceFactoryHelper
Returns:
the IUID
Throws:
IOException