version 1.8.18.1, 2007/01/26 18:22:43
|
version 1.12, 2008/12/18 16:41:52
|
|
|
details. </td> | details. </td> |
</tr> | </tr> |
<tr> | <tr> |
<td>Boolean useICUfallback</td> |
|
<td>Input <br> |
|
Optional <br> |
|
Default = false</td> |
|
<td>If true, use ICU's fallback mechnism to search more general |
|
resource bundles if the msg_id cannot be found. Note: the |
|
recommended setting is false if you are using an AcceptLanguageList from a |
|
CIM client. The Accept-Languages HTTP header from the client |
|
contains the fallback specifications. Using ICU's fallback in this |
|
case may lead to returning a language that the client didn't ask for.</td> |
|
</tr> |
|
<tr> |
|
<td>Formatter::Arg arg0; <br> | <td>Formatter::Arg arg0; <br> |
Formatter::Arg arg1; <br> | Formatter::Arg arg1; <br> |
Formatter::Arg arg2; <br> | Formatter::Arg arg2; <br> |
|
|
MessageLoaderParms that it gets. The MessageLoader will use the | MessageLoaderParms that it gets. The MessageLoader will use the |
default process locale, as determined by ICU, in this case. <br> | default process locale, as determined by ICU, in this case. <br> |
</p> | </p> |
<p><i>Important Note:</i> The MessageLoader defaults to <i>not </i>use |
<p><i>Important Note:</i> The MessageLoader does <i>not</i> use |
the "fallback" mechanism described in the ICU Resource Management | the "fallback" mechanism described in the ICU Resource Management |
section. This is because the Accept-Language header itself | section. This is because the Accept-Language header itself |
describes the fallback that the client wants. However, the |
describes the fallback that the client wants. If the |
MessageLoader does "fallback" to the root resource bundle if none of the |
MessageLoader cannot find a message file for any of the languages |
languages in AcceptLanguageList can be found. If the root resource |
in the AcceptLanguageList, it will try the default process locale. |
bundle cannot be found, then the default_msg is returned. The |
If this fails, the ICU root resource bundle will be tried.<br> |
"useICUFallback" flag can be set to have MessageLoader use ICU fallback |
|
on all message load attempts. However, usage of this flag for |
|
client requests may lead to incorrect results. For example, a |
|
client sets Accept-Language to french, german, and spanish, in that |
|
order, but there is no french resource bundle. A call to |
|
MessageLoader with useICUfallback == true would cause the root resource |
|
bundle string to be returned on the attempt to load from the french |
|
bundle. But the client requested german to be the fallback after |
|
french. <br> |
|
</p> | </p> |
<p>Please refer to the following files for details on the new Pegasus | <p>Please refer to the following files for details on the new Pegasus |
classes. <br> | classes. <br> |
|
|
</p> | </p> |
<p> </p> | <p> </p> |
<hr> | <hr> |
<p><i> |
<p>Licensed to The Open Group (TOG) under one or more contributor license |
Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
agreements. Refer to the OpenPegasusNOTICE.txt file distributed with |
Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
this work for additional information regarding copyright ownership. |
Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
Each contributor licenses this file to you under the OpenPegasus Open |
IBM Corp.; EMC Corporation, The Open Group. |
Source License; you may not use this file except in compliance with the |
Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
License.</p> |
IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
<p>Permission is hereby granted, free of charge, to any person obtaining a |
Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
copy of this software and associated documentation files (the "Software"), |
EMC Corporation; VERITAS Software Corporation; The Open Group. |
to deal in the Software without restriction, including without limitation |
Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
the rights to use, copy, modify, merge, publish, distribute, sublicense, |
EMC Corporation; Symantec Corporation; The Open Group. |
and/or sell copies of the Software, and to permit persons to whom the |
</i> </p> |
Software is furnished to do so, subject to the following conditions:</p> |
|
<p>The above copyright notice and this permission notice shall be included |
<p><i> |
in all copies or substantial portions of the Software.</p> |
Permission is hereby granted, free of charge, to any person obtaining a copy |
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
of this software and associated documentation files (the "Software"), to |
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
deal in the Software without restriction, including without limitation the |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
sell copies of the Software, and to permit persons to whom the Software is |
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
furnished to do so, subject to the following conditions: |
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
</i> </p> |
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p></body> |
|
|
<p><i> |
|
THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN |
|
ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED |
|
"AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT |
|
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
|
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
|
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
</i> <br> |
|
<br> |
|
</p> |
|
</body> |
|
</html> | </html> |