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(); }
private String readString(NSDictionary dict, String parameter) { if (!dict.containsKey(parameter)) { return ""; } return ((NSString) dict.get(parameter)).getContent(); }