com.esri.arcgis.system
Class SystemHelper

java.lang.Object
  extended by com.esri.arcgis.system.SystemHelper
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISystemBridge, Serializable

public class SystemHelper
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISystemBridge

SystemHelper object. Providing helper methods for System objects.

Product Availability

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

Singleton:

This type is a singleton.

See Also:
Serialized Form

Constructor Summary
SystemHelper()
          Constructs a SystemHelper using ArcGIS Engine.
SystemHelper(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SystemHelper theSystemHelper = (SystemHelper) obj;
 
Method Summary
 void classify(IClassifyGEN pClassify, double[] doubleArrayValues, int[] longArrayFrequencies, int[] numClasses)
          Classifies histogram data (array of values (doubles) and a paired array of frequencies (longs)) into the specified number of classes.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 
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

SystemHelper

public SystemHelper()
             throws IOException,
                    UnknownHostException
Constructs a SystemHelper using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SystemHelper

public SystemHelper(Object obj)
             throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SystemHelper theSystemHelper = (SystemHelper) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

classify

public void classify(IClassifyGEN pClassify,
                     double[] doubleArrayValues,
                     int[] longArrayFrequencies,
                     int[] numClasses)
              throws IOException,
                     AutomationException
Classifies histogram data (array of values (doubles) and a paired array of frequencies (longs)) into the specified number of classes.

Product Availability

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

Specified by:
classify in interface ISystemBridge
Parameters:
pClassify - A reference to a com.esri.arcgis.system.IClassifyGEN (in)
doubleArrayValues - The doubleArrayValues (in)
longArrayFrequencies - The longArrayFrequencies (in)
numClasses - The numClasses (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.