com.groupdocs.search.legacy

Interfaces

Classes

Exceptions

com.groupdocs.search.legacy

Class CharacterReplacementDictionary

  • All Implemented Interfaces:
    Iterable<Character>

    Deprecated. 
    This class is deprecated and will be available until January 2020 (version 20.1).

    @Deprecated
    public class CharacterReplacementDictionary
    extends DictionaryBase
    implements Iterable<Character>

    Represents a character replacement dictionary used during the indexing process.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addRange(CharacterReplacementPair[] characterReplacements)
      Deprecated. 
      Adds the specified collection of character replacements to this instance of the CharacterReplacementDictionary.
      void addRange(Iterable<CharacterReplacementPair> characterReplacements)
      Deprecated. 
      Adds the specified collection of character replacements to this instance of the CharacterReplacementDictionary.
      void clear()
      Deprecated. 
      Removes all character replacements from a CharacterReplacementDictionary object.
      boolean contains(char character)
      Deprecated. 
      Determines whether a CharacterReplacementDictionary object contains the specified character replacements.
      void exportDictionary(String fileName)
      Deprecated. 
      Exports the character dictionary to a file with the specified name.
      int getCount()
      Deprecated. 
      Gets the number of characters contained in the CharacterReplacementDictionary.
      char getReplacement(char character)
      Deprecated. 
      Gets a replacement for the specified character.
      void importDictionary(String fileName)
      Deprecated. 
      Imports the character replacement collection from a file with the specified name.
      com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
      Deprecated. 
      Returns an enumerator that iterates through a collection.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Character> iterator()
      Deprecated. 
      Returns an enumerator that iterates through the collection.
      void removeRange(Iterable<Character> characters)
      Deprecated. 
      Removes the specified collection of character replacements from this instance of the CharacterReplacementDictionary.
    • Method Detail

      • getCount

        public final int getCount()
        Deprecated. 

        Gets the number of characters contained in the CharacterReplacementDictionary.

        Value: The number of characters in the dictionary.
      • addRange

        public final void addRange(Iterable<CharacterReplacementPair> characterReplacements)
        Deprecated. 

        Adds the specified collection of character replacements to this instance of the CharacterReplacementDictionary.

        Parameters:
        characterReplacements - The collection of character replacements to add to the dictionary.
      • addRange

        public final void addRange(CharacterReplacementPair[] characterReplacements)
        Deprecated. 

        Adds the specified collection of character replacements to this instance of the CharacterReplacementDictionary.

        Parameters:
        characterReplacements - The collection of character replacements to add to the dictionary.
      • removeRange

        public final void removeRange(Iterable<Character> characters)
        Deprecated. 

        Removes the specified collection of character replacements from this instance of the CharacterReplacementDictionary.

        Parameters:
        characters - The collection of characters to remove.
      • contains

        public final boolean contains(char character)
        Deprecated. 

        Determines whether a CharacterReplacementDictionary object contains the specified character replacements.

        Parameters:
        character - The character to locate in the CharacterReplacementDictionary object.
        Returns:
        true if the CharacterReplacementDictionary object contains the specified character; otherwise, false.
      • getReplacement

        public final char getReplacement(char character)
        Deprecated. 

        Gets a replacement for the specified character.

        Parameters:
        character - The character to get a replacement for.
        Returns:
        The replacement for the specified character.
      • clear

        public final void clear()
        Deprecated. 

        Removes all character replacements from a CharacterReplacementDictionary object.

      • importDictionary

        public final void importDictionary(String fileName)
        Deprecated. 

        Imports the character replacement collection from a file with the specified name.

        Parameters:
        fileName - The name of the text file to import from.
      • exportDictionary

        public final void exportDictionary(String fileName)
        Deprecated. 

        Exports the character dictionary to a file with the specified name.

        Parameters:
        fileName - The name of the text file to export to.
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Character> iterator()
        Deprecated. 

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface Iterable<Character>
        Returns:
        An enumerator that can be used to iterate through the collection.
      • iterator_Rename_Namesake

        public final com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
        Deprecated. 

        Returns an enumerator that iterates through a collection.

        Returns:
        An IEnumerator object that can be used to iterate through the collection.