October 25, 2014
Hot Topics:
RSS RSS feed Download our iPhone app

Using Java 6 to Access Translatable Text in XML Files

  • June 21, 2010
  • By Rob Gravelle
  • Send Email »
  • More Articles »

With Java's properties files and ResourceBundleLists class, you can efficiently manage translatable text in your Java applications. Because the properties files and ResourceBundleLists class are an extensible framework, you also can adapt them to suit your particular needs. Thus, you can easily make your Java code work with translatable text in various formats, such as XML.

The mechanism that allows you to work with your preferred file format(s) in Java 6 is the ResourceBundle.Control object, which you can use in conjunction with the properties class to access XML files with ease. In his WebReference.com article, Rob Gravelle explains how to use the Java 6 ResourceBundle.Control object in conjunction with the properties class to access XML files.


Read the full story at WebReference:
Using Java 6 to Access Translatable Text in XML Files






Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Sitemap | Contact Us

Rocket Fuel