This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Campbell Ritchie wrote:And how does the getObject method work?
public final Object getObject(String key)
Gets an object for the given key from this resource bundle or one of its parents. This method first tries to obtain the object from this resource bundle using handleGetObject. If not successful, and the parent resource bundle is not null, it calls the parent's getObject method. If still not successful, it throws a MissingResourceException.
key - the key for the desired object
the object for the given key
NullPointerException - if key is null
MissingResourceException - if no object for the given key can be found
Joined: Oct 13, 2005
I didn’t say what does it do, I said how does it work? How are you going to get anything out of that array?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com