All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class asjava.uniobjects.UniNLSlocale

java.lang.Object
   |
   +----asjava.uniobjects.UniBase
           |
           +----asjava.uniobjects.UniNLSlocale

public class UniNLSlocale
extends UniBase
UniNLSlocale is used to control the NLS locale settings. The NLS locale conventions it can control are Time, Numeric, Monetary, Character Type, and Collate. This object allows the application to modify those values to what is appropriate for their given environment.

Version:
Version 1.0
Author:
David T. Meeks

Method Index

 o getClientNames()
returns a UniDynArray of the client representation of the locale settings.
 o getServerNames()
returns a UniDynArray of the server representation of the locale settings.
 o setName(Object)
sets the specified locale.
 o setName(Object, int)
sets the specified locale.

Methods

 o getClientNames
 public UniDynArray getClientNames()
returns a UniDynArray of the client representation of the locale settings.

Returns:
UniDynArray of locale settings, as seen by the client
See Also:
getServerNames
 o getServerNames
 public UniDynArray getServerNames() throws UniNLSException
returns a UniDynArray of the server representation of the locale settings.

Returns:
UniDynArray of locale settings, as seen by the server
Throws: UniNLSException
is thrown if an error occurs
See Also:
getClientNames
 o setName
 public void setName(Object aName,
                     int anIndex) throws UniNLSException
sets the specified locale. If aName is of type UniDynArray then each individual category is set to the corresponding UniDynArray value. If it contains only one element, and anIndex is specified, only that locale setting is changed. If anIndex is not set, then all locale categories are set to the value defined by aName

Parameters:
aName - String either a String or UniDynArray representing the new locale settings
anIndex - integer representing which category to be set
Throws: UniNLSException
is thrown if an error occurs
See Also:
getClientNames, getServerNames
 o setName
 public void setName(Object aName) throws UniNLSException
sets the specified locale. If aName is of type UniDynArray then each individual category is set to the corresponding UniDynArray value. If it contains only one element, and anIndex is specified, only that locale setting is changed. If anIndex is not set, then all locale categories are set to the value defined by aName

Parameters:
aName - String either a String or UniDynArray representing the new locale settings
Throws: UniNLSException
is thrown if an error occurs
See Also:
getClientNames, getServerNames

All Packages  Class Hierarchy  This Package  Previous  Next  Index