Converting a .strings text file to a NSArray or NSDictionary

Dev WO <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hi:)

I've got a resource in my Framework (text.strings), I know I can  
access a specific key using WOResourceManager.stringForKey, but I  
need to create an array of all the key in the file.

I first though I could go through an InputStream like
rm.inputStreamForResourceNamed ("text.strings", FrameworkName, null))

but I'm not sure what to do next...

I think I'm probably not going the easiest way. Maybe  
WOResourceManager already has a feature to get all the key-value in a  
NSArray or NSDictionary, but I can't find it.

Any pointer is greatly appreciated.

Thanks

Xavier

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.