resourcebundle

resourcebundleresourcebundle
  1. How do you make the resourcebundle available at application startup time ?

    在应用程序启动时如何使得resourcebundle有效?

  2. An example of the resource file is one used in the ResourceBundle class of Java .

    资源文件的一个范例是在Java的ResourceBundle类中使用的资源文件。

  3. Using the ResourceBundle to validate data

    使用ResourceBundle来验证数据

  4. The answer lies in how a ResourceBundle is created .

    答案取决于ResourceBundle是如何创建的。

  5. You could retrieve the mask string from a localized ResourceBundle using the same technique defined here .

    您可以使用与这里相同的技巧来从一个本地化的ResourceBundle中获得掩码字符串。

  6. When you create a new ResourceBundle , the Java runtime looks for files based on the current locale .

    当创建一个新的ResourceBundle时,Java运行时根据当前的地区查找文件。

  7. A Java ResourceBundle contains translated strings selected to match the user machine 's current language and country settings .

    另一方面,JavaResourceBundle包含翻译好的字符串,用于匹配用户机器上的当前语言和国家设置。

  8. When doing the lookup , the ResourceBundle class takes care of finding the correct resources for the system language code .

    在查询过程中,ResourceBundle类负责为系统语言代码查找正确的资源。

  9. The typical use of a ResourceBundle is to handle this type of locale-related difference .

    ResourceBundle的一种常见用法就是处理这种类型的与地区有关的差异。

  10. Please note that if the language characters were supported , it was not required to use the ResourceBundle Editor .

    请注意,如果支持该语言字符,则不需要使用ResourceBundleEditor。

  11. The Bean Validation specification lets you externalize and internationalize the constraint error messages through a classic file system based ResourceBundle localization .

    Bean验证规范能让你通过基于ResourceBundle本地化的标准文件系统来外部化和国际化约束错误消息。

  12. When the code requests any other string from the ResourceBundle , the string from messages_en.properties is used , if one exists .

    当代码向ResourceBundle请求任何其他字符串时,如果messagesen.properties中有这样的字符串,就使用其中的字符串。

  13. The strings in the ResourceBundle are usually the text that appears in the application , but they can be anything specific to a given locale .

    ResourceBundle中的字符串通常是出现在应用程序中的文本,但是也可以是特定于某个地区的任何东西。

  14. To overcome this problem , I used an Eclipse plugin called Eclipse ResourceBundle Editor , which allows you to convert and create resource bundles for different languages .

    为了克服这个问题,我使用了一个称为EclipseResourceBundleEditor的Eclipse插件,它允许您为不同语言转换并创建资源包。

  15. If you wanted to change the code so that you could change the ResourceBundle dynamically , you would need to change the Messages class so that its fields and methods weren 't static .

    如果您想更改代码,以便动态地改变ResourceBundle,那么需要修改Messages类,使它的字段和方法不是静态的。

  16. Although the code doesn 't focus on extracting regular expressions from a ResourceBundle , it does include a good example of extending the default behavior of the formatted text field .

    虽然其中的代码不是着重于从ResourceBundle提取正则表达式,但是它的确包含了一个扩展格式化文本域的默认行为的好例子。