|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.system.UnitConverter
public class UnitConverter
COM Class 'UnitConverter'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'
Description 'Helper CoClass to convert units.' 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 =
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.system.IUnitConverter |
|---|
IID, IID1f3fbca9_6611_4567_88e4_e0fa8b6fb26d, xxDummy |
| Constructor Summary | |
|---|---|
UnitConverter()
Constructs a UnitConverter using ArcGIS Engine. |
|
UnitConverter(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. UnitConverter theUnitConverter = (UnitConverter) obj; |
|
| Method Summary | |
|---|---|
double |
convertUnits(double dValue,
int inUnits,
int outUnits)
Convert Esri units. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
java.lang.String |
esriUnitsAsString(int units,
int appearance,
boolean bPlural)
Convert Esri unit enumerations to strings. |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a UnitConverter. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnitConverter()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public UnitConverter(java.lang.Object obj)
throws java.io.IOException
UnitConverter theUnitConverter = (UnitConverter) obj;
obj to UnitConverter.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public double convertUnits(double dValue,
int inUnits,
int outUnits)
throws java.io.IOException,
AutomationException
convertUnits in interface IUnitConverterdValue - The dValue (in)inUnits - A com.esri.arcgis.system.esriUnits constant (in)outUnits - A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String esriUnitsAsString(int units,
int appearance,
boolean bPlural)
throws java.io.IOException,
AutomationException
esriUnitsAsString in interface IUnitConverterunits - A com.esri.arcgis.system.esriUnits constant (in)appearance - A com.esri.arcgis.system.esriCaseAppearance constant (in)bPlural - The bPlural (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||