public static final class RogLogUtil.FileBasedFieldFilter extends Object implements RogLogUtil.FieldFilter
[classname|*] beanPath|*Examples:
// This is a comment line. # This is another comment line. # Indicates that myField in MyClass should be filtered com.foo.MyClass myField # Indicates all fields in MyClass should be filtered com.foo.MyClass * # Indicates any type with an address.zipCode should be # filtered * address.zipCode
| Modifier and Type | Method and Description |
|---|---|
void |
addFilterEntries(InputStream is)
Adds filter entries for the given input stream.
|
boolean |
filter(Class<?> type,
String path)
Filters a given field path for a type.
|
public void addFilterEntries(InputStream is) throws IOException
is - The input streamIOException - If there is an exception reading from the streamIllegalArgumentException - If the filter stream contains invalid input.public boolean filter(Class<?> type, String path)
RogLogUtil.FieldFilterfilter in interface RogLogUtil.FieldFiltertype - The container type for the path.path - The path to filter.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.