Class FilterDirectoryReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public abstract class FilterDirectoryReader
    extends DirectoryReader
    A FilterDirectoryReader wraps another DirectoryReader, allowing implementations to transform or extend it. Subclasses should implement doWrapDirectoryReader to return an instance of the subclass. If the subclass wants to wrap the DirectoryReader's subreaders, it should also implement a SubReaderWrapper subclass, and pass an instance to its super constructor.