public class EngineUtilities
extends java.lang.Object
Constructor and Description |
---|
EngineUtilities() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Image |
getImageFromPicture(Picture picture)
Converts an ArcObjects Picture/IPicture/StdPicture to a Java Image
|
static IUID |
getWorkspaceFactoryTypeID(java.lang.Class clazz)
Returns the workspace factory type ID for a Java class implementing
IPlugInWorkspaceFactoryHelper.
|
static boolean |
instanceOf(java.lang.Object arg,
java.lang.Class cls)
Tests if a given Arcobject is an instance of (i.e.
|
public static java.awt.Image getImageFromPicture(Picture picture) throws java.io.IOException
picture
- - this can be a StdPicture, Picture or IPicturejava.io.IOException
public static IUID getWorkspaceFactoryTypeID(java.lang.Class clazz) throws java.io.IOException
class PlugInWorkspaceFactoryHelper implements IPlugInWorkspaceFactoryHelper {
... public IUID getWorkspaceFactoryTypeID(){ return EngineUtilities.getWorkspaceFactoryTypeID(this.getClass()); } }
clazz
- The class implementing IPlugInWorkspaceFactoryHelperjava.io.IOException
public static boolean instanceOf(java.lang.Object arg, java.lang.Class cls)
arg
- the object to be testedcls
- the ArcObjects interface