Package jade.util.leap

Examples of jade.util.leap.Properties.propertyNames()


    this.setProtocol(msg.getProtocol());
    this.setConversationId(msg.getConversationId());
    this.setEnvelope(msg.getEnvelope());

    Properties prop = msg.getAllUserDefinedParameters();
    for (Enumeration e=prop.propertyNames();e.hasMoreElements();){
      String key = (String)e.nextElement();
      this.addUserDefinedParameter(key,prop.getProperty(key));
    }
  }
View Full Code Here


      appendACLExpression(str, CONVERSATION_ID, msg.getConversationId());

      Properties userDefProps = msg.getAllUserDefinedParameters();
      if (userDefProps != null) {
          Enumeration e = userDefProps.propertyNames();
          while (e.hasMoreElements()) {
              String key = ((String)e.nextElement());
              if (key.indexOf(' ') == -1) {
                  if ( (!key.startsWith("X-")) && (!key.startsWith("x-")) )
                      appendACLExpression(str, ":X-"+key, userDefProps.getProperty(key));
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.