|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.formats.recognizer.RecognizerList
public class RecognizerList
List of format recognizers.
| Method Summary | |
|---|---|
int |
getLevelCount()
Gets the number of levels. |
Recognizer |
getRecognizer(int level,
int i)
Gets an element of the recognizer list at the specified level. |
int[] |
indicesOf(java.lang.String format)
Gets the level and the index of the specified format. |
void |
remove(java.lang.String format)
Removes the recognizer with the specified codename. |
void |
removeAllExcept(long flags,
long mask)
Removes all recognizers except those with the specified flags. |
void |
removeAllExcept(java.lang.String formats)
Removes all recognizers except the specified. |
int |
size()
Gets the total number of elements. |
int |
size(int level)
Gets the size of list at the specified level. |
java.lang.String |
toString()
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 Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int size()
public int getLevelCount()
public int size(int level)
public Recognizer getRecognizer(int level,
int i)
level - the leveli - the index
public int[] indicesOf(java.lang.String format)
format - the codename
null if not foundpublic void remove(java.lang.String format)
format - the codenamepublic void removeAllExcept(java.lang.String formats)
formats - the codename(s separated by spaces)
public void removeAllExcept(long flags,
long mask)
flags - select formats of which the specified flags are setmask - only bits specified here are taken into account
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||