예제 #1
0
  private String getComponentVarsSaveString() {
    String out = "";

    for (String key : this.componentVars.keySet()) {
      String value = this.componentVars.get(key);

      String keyEncoded = new String(Base64Coder.encode(key.getBytes()));
      String valueEncoded = new String(Base64Coder.encode(value.getBytes()));

      out += keyEncoded + ":" + valueEncoded + ",";
    }

    return out;
  }
예제 #2
0
  private String getSavedMessagesSaveString() {
    String out = "";

    for (String message : this.savedMessages) {

      String msgEncoded = new String(Base64Coder.encode(message.getBytes()));
      out += msgEncoded + ",";
    }

    return out;
  }