Package com.dd.plist

Examples of com.dd.plist.NSData


  private final String destinationKey;
  private final JSONObject message;

  public ApplicationDataMessage(String rawMessage) throws Exception {
    super(rawMessage);
    NSData data = (NSData) arguments.objectForKey("WIRMessageDataKey");
    String encoded = data.getBase64EncodedData();
    byte[] bytes = Base64.decodeBase64(encoded);
    String s = new String(bytes);
    message = new JSONObject(s);
    destinationKey = arguments.objectForKey("WIRDestinationKey").toString();
    if (log.isLoggable(Level.FINEST)) {
View Full Code Here

TOP

Related Classes of com.dd.plist.NSData

Copyright © 2018 www.massapicom. 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.