Class FileSwitchDirectory

All Implemented Interfaces:
Closeable, AutoCloseable

public class FileSwitchDirectory extends BaseDirectory
Expert: A Directory instance that switches files between two other Directory instances.

Files with the specified extensions are placed in the primary directory; others are placed in the secondary directory. The provided Set must not change once passed to this class, and must allow multiple threads to call contains at once.