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

XMLTimestampFilter

public class XMLTimestampFilter 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)


   
     
    if(util.match("/timestamp=\"\\d{10,13}\"/", in)) {
      return util.substitute("s/timestamp=\"\\d{10,13}\"/timestamp=\"XXX\"/", in);
    } else {
      return in;
    }