Package xnap.util.prefs

Examples of xnap.util.prefs.Validator


    }

    protected void setProperty(String key, String newValue, boolean validate)
    {
  if (validate) {
      Validator v = (Validator)validatorsByKey.get(namespace + key);
      if (v != null) {
    try {
        v.validate(newValue);
    }
    catch (IllegalArgumentException e) {
        logger.debug("invalid value: " + namespace + key + " = "
         + newValue, e);
        return;
View Full Code Here

TOP

Related Classes of xnap.util.prefs.Validator

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.