Package rabbit.util

Examples of rabbit.util.PatternHelper


    /** Setup this class with the given properties.
     * @param logger the Logger for errors/warnings
     * @param properties the new configuration of this class.
     */
    public void setup (Logger logger, SProperties properties) {
  PatternHelper ph = new PatternHelper ();
  dontCacheUrls =
      ph.getPattern (properties, "dontCacheURLmatching",
         "DontCacheFilter bad url match: ", logger);
  onlyCacheUrls =
      ph.getPattern (properties, "onlyCacheURLmatching",
         "DontCacheFilter bad url match: ", logger);
  dontCacheMime =
      ph.getPattern (properties, "dontCacheMimematching",
         "DontCacheFilter bad mime match: ", logger);
  onlyCacheMime =
      ph.getPattern (properties, "onlyCacheMimematching",
         "DontCacheFilter bad mime match: ", logger);
    }
View Full Code Here


    /** Setup this class with the given properties.
     * @param logger the Logger for errors/warnings.
     * @param properties the new configuration of this class.
     */
    public void setup (Logger logger, SProperties properties) {
  PatternHelper ph = new PatternHelper ();
  pattern = ph.getPattern (properties, "dontFilterURLmatching",
         "DontFilterFilter: bad pattern: ", logger);
  uap = ph.getPattern (properties, "dontFilterAgentsMatching",
           "DontFilterFilter: bad user agent pattern: ",
           logger);
    }
View Full Code Here

    /** Setup this class with the given properties.
     * @param logger the Logger for errors/warnings
     * @param properties the new configuration of this class.
     */
    public void setup (Logger logger, SProperties properties) {
  PatternHelper ph = new PatternHelper ();
  blockPattern = ph.getPattern (properties, "blockURLmatching",
              "BlockFilter: bad pattern: ", logger);
    }
View Full Code Here

TOP

Related Classes of rabbit.util.PatternHelper

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.