com.esri.arcgis.system
Class ArcGISLocale

java.lang.Object
  extended by com.esri.arcgis.system.ArcGISLocale
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IArcGISLocale, java.io.Serializable

public class ArcGISLocale
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcGISLocale

COM Class 'ArcGISLocale'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description 'Class for accessing ArcGIS locale.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IArcGISLocale
IID, IID69467533_f25b_4ef3_b680_229b4dc6087b, xxDummy
 
Constructor Summary
ArcGISLocale()
          Constructs a ArcGISLocale using ArcGIS Engine.
ArcGISLocale(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcGISLocale theArcGISLocale = (ArcGISLocale) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCountryID()
          The value of the country ID from the locale.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getLangID()
          The value of the language ID from the locale.
 int getLocale()
          The value of the locale.
 int getUICountryID()
          The value of the country ID from the UI locale.
 int getUILangID()
          The value of the language ID from the UI locale.
 int getUILocale()
          The value of the UI locale.
 int hashCode()
          the hashcode for this object
 boolean isRightToLeft()
          Indicates if the UI locale is right to left.
 boolean isRightToLeftTable()
          Indicates if the UI locale is right to left table.
 boolean isRightToLeftUI()
          Indicates if the UI locale is right to left user interface.
 void release()
          Release a ArcGISLocale.
 void setLocale()
          Write the ArcGIS locale for the process.
 void setThreadLocale()
          Write the ArcGIS locale for the thread.
 void setThreadUILocale()
          Write the ArcGIS UI locale for the thread.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArcGISLocale

public ArcGISLocale()
             throws java.io.IOException,
                    java.net.UnknownHostException
Constructs a ArcGISLocale using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ArcGISLocale

public ArcGISLocale(java.lang.Object obj)
             throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcGISLocale theArcGISLocale = (ArcGISLocale) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ArcGISLocale.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getLangID

public int getLangID()
              throws java.io.IOException,
                     AutomationException
The value of the language ID from the locale.

Specified by:
getLangID in interface IArcGISLocale
Returns:
The langID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCountryID

public int getCountryID()
                 throws java.io.IOException,
                        AutomationException
The value of the country ID from the locale.

Specified by:
getCountryID in interface IArcGISLocale
Returns:
The countryID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLocale

public int getLocale()
              throws java.io.IOException,
                     AutomationException
The value of the locale.

Specified by:
getLocale in interface IArcGISLocale
Returns:
The locale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUILangID

public int getUILangID()
                throws java.io.IOException,
                       AutomationException
The value of the language ID from the UI locale.

Specified by:
getUILangID in interface IArcGISLocale
Returns:
The langID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUICountryID

public int getUICountryID()
                   throws java.io.IOException,
                          AutomationException
The value of the country ID from the UI locale.

Specified by:
getUICountryID in interface IArcGISLocale
Returns:
The countryID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUILocale

public int getUILocale()
                throws java.io.IOException,
                       AutomationException
The value of the UI locale.

Specified by:
getUILocale in interface IArcGISLocale
Returns:
The locale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRightToLeft

public boolean isRightToLeft()
                      throws java.io.IOException,
                             AutomationException
Indicates if the UI locale is right to left.

Specified by:
isRightToLeft in interface IArcGISLocale
Returns:
The isRightToLeft
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRightToLeftUI

public boolean isRightToLeftUI()
                        throws java.io.IOException,
                               AutomationException
Indicates if the UI locale is right to left user interface.

Specified by:
isRightToLeftUI in interface IArcGISLocale
Returns:
The isRightToLeftUI
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRightToLeftTable

public boolean isRightToLeftTable()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the UI locale is right to left table.

Specified by:
isRightToLeftTable in interface IArcGISLocale
Returns:
The isRightToLeftTable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLocale

public void setLocale()
               throws java.io.IOException,
                      AutomationException
Write the ArcGIS locale for the process.

Specified by:
setLocale in interface IArcGISLocale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setThreadLocale

public void setThreadLocale()
                     throws java.io.IOException,
                            AutomationException
Write the ArcGIS locale for the thread.

Specified by:
setThreadLocale in interface IArcGISLocale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setThreadUILocale

public void setThreadUILocale()
                       throws java.io.IOException,
                              AutomationException
Write the ArcGIS UI locale for the thread.

Specified by:
setThreadUILocale in interface IArcGISLocale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.