Package com.acelet.lib

Examples of com.acelet.lib.SuperProperties


    return mailHostname;
  }

  public static void init() {
    try {
      SuperProperties superProperties = new SuperProperties();
      MailServerData.postmaster = superProperties.get(SuperProperties.MAIL_POSTMASTER);
      MailServerData.alertEmail = superProperties.get(SuperProperties.MAIL_ALERT);
      MailServerData.mailHostname = superProperties.get(SuperProperties.MAIL_HOSTNAME);
      MailServerData.mailHostUserName = superProperties.get(SuperProperties.MAIL_HOST_USER_NAME);
      MailServerData.mailHostPassword = superProperties.get(SuperProperties.MAIL_HOST_PASSWORD);
      MailServerData.mailDebug = superProperties.getBoolean(SuperProperties.MAIL_DEBUG, false);

      if (MailServerData.mailHostUserName != null) {
        MailServerData.mailHostUserName = MailServerData.mailHostUserName.trim();
        if (MailServerData.mailHostUserName.length() == 0)
          MailServerData.mailHostUserName = null;
View Full Code Here

TOP

Related Classes of com.acelet.lib.SuperProperties

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.