inspectorJ -- JavaTM Profiler
|
|
|
Definition in file agentutils.cpp.
#include "agentutils.h"
Include dependency graph for agentutils.cpp:

Go to the source code of this file.
Functions | |
| static QString | SINGLE_STAR ("*") |
| static QString | DOUBLE_STAR ("**") |
| static QString | DOLLAR_SIGN ("$") |
| static QString | DOT (".") |
| static QString | JNI_PACKAGE_SEPARATOR ("/") |
| static QString | WILDCARD ("[^/]*") |
| static QString | GREEDY_WILDCARD (".*") |
| static QString | GREEDY_WILDCARD_TEMP ("GREEDY_WILDCARD_TEMP") |
| void | createAgentClassFilter (QRegExp ®exp, QString filterString) |
| Create a Regular Expression class filter based on the filter string. | |
| char * | getToken (char *str, char *seps, char *buf, int max) |
| Return a token from a char*. | |
| bool | coveredByList (char *cname, char *mname, QList< QRegExp > *classFilters) |
| bool | interested (char *cname, char *mname, QList< QRegExp > *classFilters) |
| void createAgentClassFilter | ( | QRegExp & | regexp, | |
| QString | filterString | |||
| ) |
Create a Regular Expression class filter based on the filter string.
A filter string has the form: 'java.io.*' or 'org.apache.*.*.*Request*'. A '*' matches any character except '.' therefore '*' will NOT match multiple packages. For example java.awt.* will match java.awt.AWTEvent but will not match java.awt.event.ActionEvent.
To match across multiple package names, use the greedy double star wildcard '**': java.awt.** will match both java.awt.AWTEvent and java.awt.event.ActionEvent.
| regexp | A QRegExp reference to hold the class filter. | |
| filterString | A filter string used to construct a RegExp filter. |
Definition at line 51 of file agentutils.cpp.
Referenced by parseOptions().
| char* getToken | ( | char * | str, | |
| char * | seps, | |||
| char * | buf, | |||
| int | max | |||
| ) |
Return a token from a char*.
| str | String to scan | |
| seps | Separation characters | |
| buf | Place to put results | |
| max | Size of buf |
Definition at line 69 of file agentutils.cpp.
Referenced by parseOptions().
1.5.1