| java.lang.Object com.quadcap.util.Config
Config | public class Config (Code) | | Central repository for configuration information.
author: Stan Bailes |
getMatch | public static String getMatch(String s, String p)(Code) | | Assuming that str matches pattern pat ,
with a wildcard character in the pattern, return the portion of the
string matching the wildcard.
Parameters: str - the matched string Parameters: pat - the pattern the wildcard portion of the match. |
getMatchingProps | public static Enumeration getMatchingProps(Properties props, String pattern)(Code) | | Return an enumeration of property names which match a glob-style
pattern. This is useful when properties are used to specify a
set, e.g., servlet.*.class=name or class.*.preload=true.
Parameters: props - the property set to search Parameters: pattern - the glob style pattern used byOctetComparator.patternMatch(). an Enumeration of the glob-matching part of each of thenames matching the pattern |
reset | public static void reset()(Code) | | |
|
|