com.nokia.ant.types
Class LogFilter

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by com.nokia.ant.types.LogFilter
All Implemented Interfaces:
java.lang.Cloneable

public class LogFilter
extends org.apache.tools.ant.types.DataType


Field Summary
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
LogFilter()
           
 
Method Summary
 java.lang.String getCategory()
          Get the category.
 java.util.regex.Pattern getCompileRegex()
          Get the compile regex.
 java.lang.String getRegex()
          Get the regex.
 void setCategory(java.lang.String cat)
          Set the catagory.
 void setRegex(java.lang.String regex)
          Set the regular expression to use to filter the properties.
 void setType(java.lang.String type)
          Set the type.
 
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, tooManyAttributes, toString
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogFilter

public LogFilter()
Method Detail

setType

public void setType(java.lang.String type)
Set the type.

Parameters:
type -

setRegex

public void setRegex(java.lang.String regex)
Set the regular expression to use to filter the properties.

Parameters:
regex - a regular expression.

setCategory

public void setCategory(java.lang.String cat)
Set the catagory.

Parameters:
cat - value of the catagory.

getCompileRegex

public java.util.regex.Pattern getCompileRegex()
Get the compile regex.

Returns:
compileRegex.

getRegex

public java.lang.String getRegex()
Get the regex.

Returns:
regex.

getCategory

public java.lang.String getCategory()
Get the category.

Returns:
category.