public class NameFilteredDataEntryWriter extends FilteredDataEntryWriter
DataEntryWriter
delegates to one of two other DataEntryWriter
instances,
depending on the name of the data entry.Constructor and Description |
---|
NameFilteredDataEntryWriter(java.util.List regularExpressions,
DataEntryWriter acceptedDataEntryWriter)
Creates a new NameFilteredDataEntryWriter that delegates to the given writer, depending on the
given list of filters.
|
NameFilteredDataEntryWriter(java.util.List regularExpressions,
DataEntryWriter acceptedDataEntryWriter,
DataEntryWriter rejectedDataEntryWriter)
Creates a new NameFilteredDataEntryWriter that delegates to either of the two given writers,
depending on the given list of filters.
|
NameFilteredDataEntryWriter(java.lang.String regularExpression,
DataEntryWriter acceptedDataEntryWriter)
Creates a new NameFilteredDataEntryWriter that delegates to the given writer, depending on the
given list of filters.
|
NameFilteredDataEntryWriter(java.lang.String regularExpression,
DataEntryWriter acceptedDataEntryWriter,
DataEntryWriter rejectedDataEntryWriter)
Creates a new NameFilteredDataEntryWriter that delegates to either of the two given writers,
depending on the given list of filters.
|
NameFilteredDataEntryWriter(StringMatcher stringMatcher,
DataEntryWriter acceptedDataEntryWriter)
Creates a new NameFilteredDataEntryWriter that delegates to the given writer, depending on the
given string matcher.
|
NameFilteredDataEntryWriter(StringMatcher stringMatcher,
DataEntryWriter acceptedDataEntryWriter,
DataEntryWriter rejectedDataEntryWriter)
Creates a new NameFilteredDataEntryWriter that delegates to either of the two given writers,
depending on the given string matcher.
|
close, createDirectory, createOutputStream, println, sameOutputStream
public NameFilteredDataEntryWriter(java.lang.String regularExpression, DataEntryWriter acceptedDataEntryWriter)
public NameFilteredDataEntryWriter(java.lang.String regularExpression, DataEntryWriter acceptedDataEntryWriter, DataEntryWriter rejectedDataEntryWriter)
public NameFilteredDataEntryWriter(java.util.List regularExpressions, DataEntryWriter acceptedDataEntryWriter)
public NameFilteredDataEntryWriter(java.util.List regularExpressions, DataEntryWriter acceptedDataEntryWriter, DataEntryWriter rejectedDataEntryWriter)
public NameFilteredDataEntryWriter(StringMatcher stringMatcher, DataEntryWriter acceptedDataEntryWriter)
public NameFilteredDataEntryWriter(StringMatcher stringMatcher, DataEntryWriter acceptedDataEntryWriter, DataEntryWriter rejectedDataEntryWriter)