|
JBoss Log Manager 1.4.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.logmanager.filters.SubstituteFilter
public final class SubstituteFilter
A filter which applies a text substitution on the message if the nested filter matches.
| Constructor Summary | |
|---|---|
SubstituteFilter(Pattern pattern,
String replacement,
boolean replaceAll)
Construct a new instance. |
|
SubstituteFilter(String patternString,
String replacement,
boolean replaceAll)
Construct a new instance. |
|
| Method Summary | |
|---|---|
boolean |
isLoggable(LogRecord record)
Apply the filter to the given log record. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubstituteFilter(Pattern pattern,
String replacement,
boolean replaceAll)
pattern - the pattern to matchreplacement - the string replacementreplaceAll - true if all occurrances should be replaced; false if only the first occurrance
public SubstituteFilter(String patternString,
String replacement,
boolean replaceAll)
patternString - the pattern to matchreplacement - the string replacementreplaceAll - true if all occurrances should be replaced; false if only the first occurrance| Method Detail |
|---|
public boolean isLoggable(LogRecord record)
isLoggable in interface Filterrecord - the log record to inspect and modify
true always
|
JBoss Log Manager 1.4.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||