|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectasjava.uniobjects.UniBase
asjava.uniobjects.UniNLSlocale
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.
Field Summary |
---|
Fields inherited from class asjava.uniobjects.UniBase |
---|
inPacket, outPacket, uniConnection, uniEncryptionType, uniParentSession, uniStatus |
Method Summary | |
---|---|
UniDynArray |
getClientNames()
returns a UniDynArray of the client representation of the locale
settings. |
UniDynArray |
getServerNames()
returns a UniDynArray of the server representation of the locale
settings. |
void |
setName(java.lang.Object aName)
sets the specified locale. |
void |
setName(java.lang.Object aName,
int anIndex)
sets the specified locale. |
Methods inherited from class asjava.uniobjects.UniBase |
---|
getEncryptionType, isCommandActive, setEncryptionType, status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public UniDynArray getClientNames()
UniDynArray
of the client representation of the locale
settings.
getServerNames()
public UniDynArray getServerNames() throws UniNLSException
UniDynArray
of the server representation of the locale
settings.
UniNLSException
- is thrown if an error occursgetClientNames()
public void setName(java.lang.Object aName, int anIndex) throws UniNLSException
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
aName
- String either a String or UniDynArray representing the new locale settingsanIndex
- integer representing which category to be set
UniNLSException
- is thrown if an error occursgetClientNames()
,
getServerNames()
public void setName(java.lang.Object aName) throws UniNLSException
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
aName
- String either a String or UniDynArray representing the new locale settings
UniNLSException
- is thrown if an error occursgetClientNames()
,
getServerNames()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |