Class StopwordsFile

java.lang.Object
org.codelibs.fess.dict.DictionaryFile<StopwordsItem>
org.codelibs.fess.dict.stopwords.StopwordsFile

public class StopwordsFile extends DictionaryFile<StopwordsItem>
Manages a dictionary file for stopwords. This class handles reading, parsing, and updating files that contain a list of stopwords. Each line in the file represents a single stopword. The class provides methods for retrieving, adding, updating, and deleting stopword items, as well as reloading the dictionary from its source file.
  • Constructor Details

    • StopwordsFile

      public StopwordsFile(String id, String path, Date timestamp)
      Constructs a new stopwords file.
      Parameters:
      id - The unique identifier for this dictionary file.
      path - The path to the dictionary file.
      timestamp - The last modified timestamp of the file.
  • Method Details