Package chemaxon.formats.recognizer
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 TypeMethodDescriptionintDeprecated, 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[]Deprecated, for removal: This API element is subject to removal in a future version.Gets the level and the index of the specified format.voidDeprecated, for removal: This API element is subject to removal in a future version.Removes the recognizer with the specified codename.voidremoveAllExcept(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.voidremoveAllExcept(String formats) Deprecated, for removal: This API element is subject to removal in a future version.Removes all recognizers except the specified.intsize()Deprecated, for removal: This API element is subject to removal in a future version.Gets the total number of elements.intsize(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.toString()Deprecated, for removal: This API element is subject to removal in a future version.Gets the string representation of the list.
-
Method Details
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.Gets the string representation of the list. -
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
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 leveli- the index- Returns:
- the element
- Since:
- Marvin 5.1, 07/26/2008
-
indicesOf
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
nullif not found - Since:
- Marvin 5.1, 07/26/2008
-
remove
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
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 setmask- only bits specified here are taken into account
-