## Uses of Interface
org.apache.lucene.analysis.util.ResourceLoader

- Packages that use ResourceLoader
  Package | Description
  --- | ---
  org.apache.lucene.analysis.charfilter | Normalization of text before the tokenizer.
  org.apache.lucene.analysis.commongrams | Construct n-grams for frequently occurring terms and phrases.
  org.apache.lucene.analysis.compound | A filter that decomposes compound words you find in many Germanic languages into the word parts.
  org.apache.lucene.analysis.core | Basic, general-purpose analysis components.
  org.apache.lucene.analysis.custom | A general-purpose Analyzer that can be created with a builder-style API.
  org.apache.lucene.analysis.hunspell | Stemming TokenFilter using a Java implementation of the Hunspell stemming algorithm.
  org.apache.lucene.analysis.miscellaneous | Miscellaneous Tokenstreams.
  org.apache.lucene.analysis.payloads | Provides various convenience classes for creating payloads on Tokens.
  org.apache.lucene.analysis.snowball | `TokenFilter` and `Analyzer` implementations that use Snowball stemmers.
  org.apache.lucene.analysis.synonym | Analysis components for Synonyms.
  org.apache.lucene.analysis.util | Utility functions for text analysis.

- - ### Uses of ResourceLoader in org.apache.lucene.analysis.charfilter

    Methods in org.apache.lucene.analysis.charfilter with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `void` | MappingCharFilterFactory.`inform(ResourceLoader loader)`

  - ### Uses of ResourceLoader in org.apache.lucene.analysis.commongrams

    Methods in org.apache.lucene.analysis.commongrams with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `void` | CommonGramsFilterFactory.`inform(ResourceLoader loader)`

  - ### Uses of ResourceLoader in org.apache.lucene.analysis.compound

    Methods in org.apache.lucene.analysis.compound with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `void` | DictionaryCompoundWordTokenFilterFactory.`inform(ResourceLoader loader)`
    `void` | HyphenationCompoundWordTokenFilterFactory.`inform(ResourceLoader loader)`

  - ### Uses of ResourceLoader in org.apache.lucene.analysis.core

    Methods in org.apache.lucene.analysis.core with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `void` | TypeTokenFilterFactory.`inform(ResourceLoader loader)`
    `void` | StopFilterFactory.`inform(ResourceLoader loader)`

  - ### Uses of ResourceLoader in org.apache.lucene.analysis.custom

    Methods in org.apache.lucene.analysis.custom with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `static CustomAnalyzer.Builder` | CustomAnalyzer.`builder(ResourceLoader loader)` Returns a builder for custom analyzers that loads all resources using the given `ResourceLoader`.

  - ### Uses of ResourceLoader in org.apache.lucene.analysis.hunspell

    Methods in org.apache.lucene.analysis.hunspell with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `void` | HunspellStemFilterFactory.`inform(ResourceLoader loader)`

  - ### Uses of ResourceLoader in org.apache.lucene.analysis.miscellaneous

    Methods in org.apache.lucene.analysis.miscellaneous with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ConditionalTokenFilterFactory.`doInform(ResourceLoader loader)` Initialises this component with the corresponding `ResourceLoader`
    `void` | ProtectedTermFilterFactory.`doInform(ResourceLoader loader)`
    `void` | KeepWordFilterFactory.`inform(ResourceLoader loader)`
    `void` | StemmerOverrideFilterFactory.`inform(ResourceLoader loader)`
    `void` | ConditionalTokenFilterFactory.`inform(ResourceLoader loader)`
    `void` | KeywordMarkerFilterFactory.`inform(ResourceLoader loader)`
    `void` | WordDelimiterFilterFactory.`inform(ResourceLoader loader)` Deprecated.
    `void` | WordDelimiterGraphFilterFactory.`inform(ResourceLoader loader)`

  - ### Uses of ResourceLoader in org.apache.lucene.analysis.payloads

    Methods in org.apache.lucene.analysis.payloads with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `void` | DelimitedPayloadTokenFilterFactory.`inform(ResourceLoader loader)`

  - ### Uses of ResourceLoader in org.apache.lucene.analysis.snowball

    Methods in org.apache.lucene.analysis.snowball with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `void` | SnowballPorterFilterFactory.`inform(ResourceLoader loader)`

  - ### Uses of ResourceLoader in org.apache.lucene.analysis.synonym

    Methods in org.apache.lucene.analysis.synonym with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `void` | SynonymGraphFilterFactory.`inform(ResourceLoader loader)`
    `void` | SynonymFilterFactory.`inform(ResourceLoader loader)` Deprecated.
    `protected SynonymMap` | SynonymGraphFilterFactory.`loadSynonyms(ResourceLoader loader, String cname, boolean dedup, Analyzer analyzer)` Load synonyms with the given `SynonymMap.Parser` class.
    `protected SynonymMap` | SynonymFilterFactory.`loadSynonyms(ResourceLoader loader, String cname, boolean dedup, Analyzer analyzer)` Deprecated. Load synonyms with the given `SynonymMap.Parser` class.

  - ### Uses of ResourceLoader in org.apache.lucene.analysis.util

    Classes in org.apache.lucene.analysis.util that implement ResourceLoader
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ClasspathResourceLoader` Simple `ResourceLoader` that uses `ClassLoader.getResourceAsStream(String)` and `Class.forName(String,boolean,ClassLoader)` to open resources and classes, respectively.
    `class` | `FilesystemResourceLoader` Simple `ResourceLoader` that opens resource files from the local file system, optionally resolving against a base directory.

    Methods in org.apache.lucene.analysis.util with parameters of type ResourceLoader
    Modifier and Type | Method and Description
    --- | ---
    `protected List<String>` | AbstractAnalysisFactory.`getLines(ResourceLoader loader, String resource)` Returns the resource's lines (with content treated as UTF-8)
    `protected CharArraySet` | AbstractAnalysisFactory.`getSnowballWordSet(ResourceLoader loader, String wordFiles, boolean ignoreCase)` same as `AbstractAnalysisFactory.getWordSet(ResourceLoader, String, boolean)`, except the input is in snowball format.
    `protected CharArraySet` | AbstractAnalysisFactory.`getWordSet(ResourceLoader loader, String wordFiles, boolean ignoreCase)` Returns as `CharArraySet` from wordFiles, which can be a comma-separated list of filenames
    `void` | ElisionFilterFactory.`inform(ResourceLoader loader)`
    `void` | ResourceLoaderAware.`inform(ResourceLoader loader)` Initializes this component with the provided ResourceLoader (used for loading classes, files, etc).

    Constructors in org.apache.lucene.analysis.util with parameters of type ResourceLoader
    Constructor and Description
    `FilesystemResourceLoader(Path baseDirectory, ResourceLoader delegate)` Creates a resource loader that resolves resources against the given base directory (may be `null` to refer to CWD).

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