Package org.uiautomation.ios.utils

Examples of org.uiautomation.ios.utils.PlistFileUtils.toJSON()


  }

  protected JSONObject getFullPlist() throws Exception {
    File plist = new File(app, "Info.plist");
    PlistFileUtils util = new PlistFileUtils(plist);
    return util.toJSON();
  }

  public String getMetadata(String key) {
    if (!metadata.has(key)) {
      return "";
View Full Code Here


  /**
   * load the content of the binary file and returns it as a json object.
   */
  public JSONObject readContentFromBinaryFile(File binaryFile) throws Exception {
    PlistFileUtils util = new PlistFileUtils(binaryFile);
    return util.toJSON();
  }

  /**
   * Take a json file ( plist exported as json format ) localizable.strings and loads its content.
   */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.