/** 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);
}