0

I want to load the .plist files and store in com.webobjects.foundation.NSDictionary variable.

The piece of code which was earlier

 private NSDictionary variable;

 try{
   variable = OWWOFileUtilities.loadConfigFile("xxxxx.plist", null);
 }

  variable.objectforkey("string");

Now the OWWOFileUtilities is not used anymore, So I want the alternate way to load the .plist into my project

M. A. Kishawy
  • 5,001
  • 11
  • 47
  • 72
Ivory
  • 67
  • 1
  • 7

1 Answers1

0

See,

com.webobjects.foundation.NSPropertyListSerialization.dictionaryForString(String value) 

Apache configuration classes also support loading plists.

Adeel Ansari
  • 39,541
  • 12
  • 93
  • 133
user1452701
  • 144
  • 1
  • 10