Filtering

Use regular expressions to filter the information displayed in views.

You can filter the output of tables, such as the method profile and classes tables, by entering expressions in the text box above the corresponding table. The filter text box accepts well-formed regular expressions. When you enter part of the name, only lines with matching content appear in the table. You can enter ^ to match the beginning of some text, such as a class name. Similarly, using $ forces a match at the end of the text.

For example, to see only packages beginning with "java", enter ^java in the text box.

To see only method names containing ".init", enter \.init in the text box. The "\" is important to escape the "." which otherwise matches any character.

Filter examples

The following table shows some sample filter expressions:
Filter expression Required results
lang Any line containing lang
^com.ibm Any line beginning with com.ibm
\.get Any line containing .get


© Copyright IBM Corporation 2005, 2010. All Rights Reserved.
© Copyright Sun Microsystems, Inc. 1997, 2007, 901 San Antonio Rd., Palo Alto, CA 94303 USA. All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
This information center is powered by Eclipse technology. (http://www.eclipse.org/)