@Deprecated public class CubeRecognizer extends chemaxon.formats.recognizer.XYZRecognizer
needsMore| Constructor and Description |
|---|
CubeRecognizer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isCubeLine(String line,
int count)
Deprecated.
Checks if it is a cube line:
an integer followed by floats.
|
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.
|
findNonWS, findReals, findWS, isXYZAtomLine, isXYZCountLinegetLastProcessedLineNum, isLastLine, needsMore, tryToRecognizepublic chemaxon.common.util.Pair<Boolean,Collection<String>> tryToRecognize(String line, int lineNumber)
RecognizertryToRecognize in class chemaxon.formats.recognizer.XYZRecognizerline - the line stringlineNumber - the position of the linePair of which second parameter gives the format name collection that is:
public static boolean isCubeLine(String line, int count)
line - the input linecount - the number of floatstrue if the line can be a cube line,
false otherwise