@Deprecated public class SMILESRecognizer extends Recognizer
needsMore
Constructor and Description |
---|
SMILESRecognizer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
canBeSMARTS(String s)
Deprecated.
Tests whether a string can be SMARTS.
|
static boolean |
canBeSMILES(String s)
Deprecated.
Tests whether a string can be SMILES.
|
static boolean |
isComment(String s)
Deprecated.
|
static boolean |
isCxSMILESLine(String s)
Deprecated.
Checks if a line is a ChemAxon Extended
SMILES/SMARTS format.
|
chemaxon.common.util.Pair<Boolean,Collection<String>> |
tryToRecognize(String line,
int lineNumber)
Deprecated.
Checks whether the parameter line can be part of a valid (format specified) file on the given file position.
|
getLastProcessedLineNum, isLastLine, needsMore, tryToRecognize
public chemaxon.common.util.Pair<Boolean,Collection<String>> tryToRecognize(String line, int lineNumber)
Recognizer
tryToRecognize
in class Recognizer
line
- the line stringlineNumber
- the position of the linePair
of which second parameter gives the format name collection that is:
public static boolean canBeSMILES(String s)
s
- the input stringpublic static boolean canBeSMARTS(String s)
s
- the input stringpublic static boolean isComment(String s)
public static boolean isCxSMILESLine(String s)
s
- the input string