ResourceBundle是哪个包里的类?方法getBundle("localStrings")什么作用呀?LocalStrings又是个什么东东呀,还请各位给说说~~~书上没有讲呀~~

解决方案 »

  1.   

    java.util.ResourceBundle;看看书吧!!
      

  2.   

    java.util.ResourceBundle
    找一个jdk的帮助一下就可以找到啊
      

  3.   

    看看java api吧,里面说的很清楚
    ResourceBundle是java资源引用类,可以把你要使用的一些常量保存在一个文件中,在使用的时候来引用。
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource, a String for example, your program can load it from the resource bundle that is appropriate for the current user's locale. In this way, you can write program code that is largely independent of the user's locale isolating most, if not all, of the locale-specific information in resource bundles
      

  4.   

    请问哪里可以找到jdkAPI的帮助呀?