|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.formats.recognizer.Recognizer
chemaxon.formats.recognizer.JTFRecognizer
public class JTFRecognizer
JTF format recognizer.
| Constructor Summary | |
|---|---|
JTFRecognizer(java.lang.String fmt)
Creates a JTF format recognizer. |
|
| Method Summary | |
|---|---|
static boolean |
canBeJTFHeader(java.lang.String line)
Determines if a String is valid as the first line of a JTF file. |
boolean |
needsMore()
Should we read more lines? |
void |
tryToRecognize(java.lang.String line,
int linenum,
RecognizerList reclist)
Tries to recognize a line. |
| Methods inherited from class chemaxon.formats.recognizer.Recognizer |
|---|
getLastProcessedLineNum, getPriority, isLastLine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JTFRecognizer(java.lang.String fmt)
fmt - the codename of the format| Method Detail |
|---|
public void tryToRecognize(java.lang.String line,
int linenum,
RecognizerList reclist)
tryToRecognize in class Recognizerline - the linelinenum - the line numberreclist - the list of recognizerspublic boolean needsMore()
needsMore in class Recognizertrue if more lines are needed,
false otherwisepublic static boolean canBeJTFHeader(java.lang.String line)
line - a line of the file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||