XFA4J

com.adobe.xfa.ut
Class LcLocale

java.lang.Object
  extended by com.adobe.xfa.ut.LcLocale

public final class LcLocale
extends java.lang.Object

A class to represent any of the locales known to XFA.


Field Summary
static java.lang.String DEFAULT_LOCALE
          The default XFA locale name: en_US.
 
Constructor Summary
LcLocale(java.lang.String locale)
          Instantiates an LcLocale with the given name.
 
Method Summary
 java.lang.String getDescName()
          Gets this object's descriptive name.
 java.lang.String getName()
          Gets this object's name.
 boolean isValid()
          Determines if this object is a valid -- recognized locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LOCALE

public static final java.lang.String DEFAULT_LOCALE
The default XFA locale name: en_US.

See Also:
Constant Field Values
Constructor Detail

LcLocale

public LcLocale(java.lang.String locale)
Instantiates an LcLocale with the given name.

Parameters:
locale - an ISO locale name.
Method Detail

isValid

public boolean isValid()
Determines if this object is a valid -- recognized locale.

Returns:
boolean true if valid, and false otherwise.

getName

public java.lang.String getName()
Gets this object's name.

Returns:
the name.

getDescName

public java.lang.String getDescName()
Gets this object's descriptive name.

Returns:
the descriptive name.

XFA4J

© 2005 Adobe Systems Incorporated. All Rights Reserved.