## Uses of Class
org.apache.lucene.store.BaseDirectoryWrapper

- Packages that use BaseDirectoryWrapper
  Package | Description
  --- | ---
  org.apache.lucene.store | Support for testing store mechanisms.
  org.apache.lucene.util | General test support.

- - ### Uses of BaseDirectoryWrapper in org.apache.lucene.store

    Subclasses of BaseDirectoryWrapper in org.apache.lucene.store
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MockDirectoryWrapper` This is a Directory Wrapper that adds methods intended to be used only by unit tests.
    `class` | `RawDirectoryWrapper` Delegates all operations, even optional ones, to the wrapped directory.

  - ### Uses of BaseDirectoryWrapper in org.apache.lucene.util

    Methods in org.apache.lucene.util that return BaseDirectoryWrapper
    Modifier and Type | Method and Description
    --- | ---
    `static BaseDirectoryWrapper` | LuceneTestCase.`newDirectory()` Returns a new Directory instance.
    `static BaseDirectoryWrapper` | LuceneTestCase.`newDirectory(Directory d)` Returns a new Directory instance, with contents copied from the provided directory.
    `static BaseDirectoryWrapper` | LuceneTestCase.`newDirectory(Random r)` Returns a new Directory instance, using the specified random.
    `static BaseDirectoryWrapper` | LuceneTestCase.`newDirectory(Random r, Directory d)` Returns a new Directory instance, using the specified random with contents copied from the provided directory.
    `static BaseDirectoryWrapper` | LuceneTestCase.`newDirectory(Random r, LockFactory lf)` Returns a new Directory instance, using the specified random.
    `static BaseDirectoryWrapper` | LuceneTestCase.`newFSDirectory(Path f)` Returns a new FSDirectory instance over the given file, which must be a folder.
    `static BaseDirectoryWrapper` | LuceneTestCase.`newFSDirectory(Path f, LockFactory lf)` Returns a new FSDirectory instance over the given file, which must be a folder.
    `static BaseDirectoryWrapper` | LuceneTestCase.`newMaybeVirusCheckingDirectory()` Like `LuceneTestCase.newDirectory()` except randomly the `VirusCheckingFS` may be installed
    `static BaseDirectoryWrapper` | LuceneTestCase.`newMaybeVirusCheckingFSDirectory(Path f)` Like `LuceneTestCase.newFSDirectory(Path)`, but randomly insert `VirusCheckingFS`

Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.