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

ISO8601Filter

public class ISO8601Filter 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 = "/"+ISO8601_PAT +"/";

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