|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.core.utils.IPLike
public class IPLike
IPLike class.
| Method Summary | |
|---|---|
static int |
countChar(char charIn,
String stingIn)
countChar |
static boolean |
matches(String address,
String pattern)
matches |
static boolean |
matchNumericListOrRange(String value,
String patterns)
Use this method to match ranges, lists, and specific number strings such as: "200-300" or "200,300,501-700" "*" matches any This method is commonly used for matching IP octets or ports |
static boolean |
matchRange(String value,
String pattern)
Helper method in support of matchNumericListOrRange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean matches(String address,
String pattern)
matches
address - a String object.pattern - a String object.
public static boolean matchNumericListOrRange(String value,
String patterns)
value - a String object.patterns - a String object.
public static boolean matchRange(String value,
String pattern)
value - a String object.pattern - a String object.
public static int countChar(char charIn,
String stingIn)
countChar
charIn - a char.stingIn - a String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||