FileDocCategorySizeDatePackage
AbsoluteTimeFilter.javaAPI DocApache log4j 1.2.151230Sat Aug 25 00:09:34 BST 2007org.apache.log4j.util

AbsoluteTimeFilter

public class AbsoluteTimeFilter extends Object implements Filter

Fields Summary
org.apache.oro.text.perl.Perl5Util
util
Constructors Summary
Methods Summary
public java.lang.Stringfilter(java.lang.String in)

  
   
     
    String pat = "/"+Filter.ABSOLUTE_TIME_PAT+"/";

    if(util.match(pat, in)) {    
      return util.substitute("s/"+Filter.ABSOLUTE_TIME_PAT+"//", in);
    } else {
      return in;
    }