Class RecognizerList

java.lang.Object
chemaxon.formats.recognizer.RecognizerList

@PublicApi @Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public class RecognizerList extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Not used, will be removed
List of format recognizers.
Since:
Marvin 5.0, 10/14/2007
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the number of levels.
    getRecognizer(int level, int i)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets an element of the recognizer list at the specified level.
    int[]
    indicesOf(String format)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the level and the index of the specified format.
    void
    remove(String format)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Removes the recognizer with the specified codename.
    void
    removeAllExcept(long flags, long mask)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Removes all recognizers except those with the specified flags.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Removes all recognizers except the specified.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the total number of elements.
    int
    size(int level)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the size of list at the specified level.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the string representation of the list.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the string representation of the list.
      Overrides:
      toString in class Object
      Returns:
      the string
    • size

      public int size()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the total number of elements.
      Returns:
      the total number of elements
    • getLevelCount

      public int getLevelCount()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the number of levels.
      Returns:
      the number of levels
      Since:
      Marvin 5.1, 07/26/2008
    • size

      public int size(int level)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the size of list at the specified level.
      Returns:
      the number of elements
      Since:
      Marvin 5.1, 07/26/2008
    • getRecognizer

      public Recognizer getRecognizer(int level, int i)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets an element of the recognizer list at the specified level.
      Parameters:
      level - the level
      i - the index
      Returns:
      the element
      Since:
      Marvin 5.1, 07/26/2008
    • indicesOf

      public int[] indicesOf(String format)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the level and the index of the specified format.
      Parameters:
      format - the codename
      Returns:
      two-element array containing the level and the index, or null if not found
      Since:
      Marvin 5.1, 07/26/2008
    • remove

      public void remove(String format)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Removes the recognizer with the specified codename.
      Parameters:
      format - the codename
    • removeAllExcept

      public void removeAllExcept(String formats)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Removes all recognizers except the specified.
      Parameters:
      formats - the codename(s separated by spaces)
    • removeAllExcept

      public void removeAllExcept(long flags, long mask)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Removes all recognizers except those with the specified flags.
      Parameters:
      flags - select formats of which the specified flags are set
      mask - only bits specified here are taken into account