This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes i18n Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "i18n" Watch "i18n" New topic
Author

i18n

Alice Corman
Greenhorn

Joined: Jun 21, 2006
Posts: 19
I've been reviewing some older apps that use sun.text.*, sun.text.resources.* According to the FAQ's sun.* packages should not be used. So what packages/classes should be used instead? I'm thinking java.text.* but its difficult to tell as there is deliberately no documentation on the sun.* packages.

Any help would be appreciated
Tony Docherty
Bartender

Joined: Aug 07, 2007
Posts: 2158
    
  47
What are you trying to do?
If you can describe your problem in detail it will help us to be able to recommend a suitable way of solving it.
Alice Corman
Greenhorn

Joined: Jun 21, 2006
Posts: 19
Tony,

Thanks for taking the time to respond. Sorry for the cryptic question. I didn't have much information to go on but after reviewing the code I discovered out those classes were used to handle date and number formatting for a given locale. It took some researching but I figured out the classes I should be using are java.text.* plus java.util.Locale and TimeZone.

Problem solved. Phew ;-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i18n
 
Similar Threads
There is no more free mock exams directly from sun right?
What is the jar file
java unable to recognize class where my IDE does
Converting a Base64 encoded String to an Image
import static??