|
Hyperic HQ Plugin API v. 5.8.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.novadeck.jxla.tools.Utils
public class Utils
Field Summary | |
---|---|
static String |
UA_BOT
defines output value representing bot simulating browser |
static String |
UA_IE
defines output value representing Internet Explorer browser |
static String |
UA_KONQUEROR
defines output value representing Konqueror browser |
static String |
UA_LYNX
defines output value representing Lynx browser |
static String |
UA_NETBOX
defines output value representing NetBox ( NetGem Setup Box) browser |
static String |
UA_NETSCAPE
defines output value representing Netscape browser |
static String |
UA_OPERA
defines output value representing Opera browser |
static String |
UA_PHP
defines output value representing php simulating browser |
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static boolean |
canOutputHit(String uri)
|
static org.apache.oro.text.regex.Pattern |
compileRE(String regexp)
Compile a regular expression into pattern |
static String |
getUserAgent(String s)
|
static boolean |
isComment(String s)
|
static boolean |
isEmpty(String s)
|
static boolean |
match(String str,
org.apache.oro.text.regex.Pattern p)
test if a string match a pattern ( using regexp ) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String UA_IE
public static final String UA_OPERA
public static final String UA_KONQUEROR
public static final String UA_NETSCAPE
public static final String UA_LYNX
public static final String UA_BOT
public static final String UA_PHP
public static final String UA_NETBOX
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static org.apache.oro.text.regex.Pattern compileRE(String regexp)
regexp
- the regular expression to convert
public static boolean match(String str, org.apache.oro.text.regex.Pattern p)
str
- the string to testp
- the pattern to match
public static final boolean isEmpty(String s)
public static final boolean isComment(String s)
public static String getUserAgent(String s)
public static final boolean canOutputHit(String uri)
|
Hyperic HQ Plugin API v. 5.8.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |