Exemple #1
0
 private String readRequiredString(NSDictionary dict, String parameter, String fileName)
     throws IOException {
   if (!dict.containsKey(parameter)) {
     throw new IOException(
         "Invalid manifest file. No " + parameter + " given. (" + fileName + ")");
   }
   return ((NSString) dict.get(parameter)).getContent();
 }
Exemple #2
0
 private String readString(NSDictionary dict, String parameter) {
   if (!dict.containsKey(parameter)) {
     return "";
   }
   return ((NSString) dict.get(parameter)).getContent();
 }