@PublicAPI @Deprecated public class SMILESRecognizer extends Recognizer
needsMore
Constructor and Description |
---|
SMILESRecognizer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
canBeSMARTS(java.lang.String s)
Deprecated.
Tests whether a string can be SMARTS.
|
static boolean |
canBeSMILES(java.lang.String s)
Deprecated.
Tests whether a string can be SMILES.
|
java.lang.String |
guessFormat(java.lang.String line)
Deprecated.
MODIFIING THIS METHOD REQUIRES TO UPDATE THE
Recognizer.tryToRecognize(String, int, RecognizerList) METHOD AS WELL!! |
static boolean |
isComment(java.lang.String s)
Deprecated.
|
static boolean |
isCxSMILESLine(java.lang.String s)
Deprecated.
Checks if a line is a ChemAxon Extended
SMILES/SMARTS format.
|
chemaxon.common.util.Pair<java.lang.Boolean,java.util.Collection<java.lang.String>> |
tryToRecognize(java.lang.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<java.lang.Boolean,java.util.Collection<java.lang.String>> tryToRecognize(java.lang.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(java.lang.String s)
s
- the input stringpublic static boolean canBeSMARTS(java.lang.String s)
s
- the input stringpublic static boolean isComment(java.lang.String s)
public static boolean isCxSMILESLine(java.lang.String s)
s
- the input stringpublic java.lang.String guessFormat(java.lang.String line)
Recognizer.tryToRecognize(String, int, RecognizerList)
METHOD AS WELL!!guessFormat
in class Recognizer
line
- the line