Package chemaxon.formats.recognizer
Class RecognizerList
- java.lang.Object
-
- chemaxon.formats.recognizer.RecognizerList
-
@Deprecated @PublicAPI public class RecognizerList extends Object
Deprecated.as of Marvin 2014.07.21.0 not usedList of format recognizers.- Since:
- Marvin 5.0, 10/14/2007
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getLevelCount()
Deprecated.Gets the number of levels.Recognizer
getRecognizer(int level, int i)
Deprecated.Gets an element of the recognizer list at the specified level.int[]
indicesOf(String format)
Deprecated.Gets the level and the index of the specified format.void
remove(String format)
Deprecated.Removes the recognizer with the specified codename.void
removeAllExcept(long flags, long mask)
Deprecated.Removes all recognizers except those with the specified flags.void
removeAllExcept(String formats)
Deprecated.Removes all recognizers except the specified.int
size()
Deprecated.Gets the total number of elements.int
size(int level)
Deprecated.Gets the size of list at the specified level.String
toString()
Deprecated.Gets the string representation of the list.
-
-
-
Method Detail
-
toString
public String toString()
Deprecated.Gets the string representation of the list.
-
size
public int size()
Deprecated.Gets the total number of elements.- Returns:
- the total number of elements
-
getLevelCount
public int getLevelCount()
Deprecated.Gets the number of levels.- Returns:
- the number of levels
- Since:
- Marvin 5.1, 07/26/2008
-
size
public int size(int level)
Deprecated.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.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
public int[] indicesOf(String format)
Deprecated.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.Removes the recognizer with the specified codename.- Parameters:
format
- the codename
-
removeAllExcept
public void removeAllExcept(String formats)
Deprecated.Removes all recognizers except the specified.- Parameters:
formats
- the codename(s separated by spaces)
-
removeAllExcept
public void removeAllExcept(long flags, long mask)
Deprecated.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
-
-