com.esri.arcgis.arcweb
Class ArcWebCountryCodeHelper

java.lang.Object
  extended by com.esri.arcgis.arcweb.ArcWebCountryCodeHelper
All Implemented Interfaces:
IArcWebCountryCodeHelper, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ArcWebCountryCodeHelper
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebCountryCodeHelper

A helper code used in accessing ArcWeb countries.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebCountryCodeHelper()
          Constructs a ArcWebCountryCodeHelper using ArcGIS Engine.
ArcWebCountryCodeHelper(Object obj)
          Construct a ArcWebCountryCodeHelper using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 String lookUpCountryName(int countryCode)
          Returns a country name given its esriArcWebCountry code.
 
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

ArcWebCountryCodeHelper

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

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

ArcWebCountryCodeHelper

public ArcWebCountryCodeHelper(Object obj)
                        throws IOException
Construct a ArcWebCountryCodeHelper using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ArcWebCountryCodeHelper.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems ArcWebCountryCodeHelper theArcWebCountryCodeHelper = (ArcWebCountryCodeHelper) obj;
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

lookUpCountryName

public String lookUpCountryName(int countryCode)
                         throws IOException,
                                AutomationException
Returns a country name given its esriArcWebCountry code.

Product Availability

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

Specified by:
lookUpCountryName in interface IArcWebCountryCodeHelper
Parameters:
countryCode - A com.esri.arcgis.arcweb.esriArcWebCountry constant (in)
Returns:
The countryName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.