@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, isXYZCountLine
getLastProcessedLineNum, isLastLine, needsMore, tryToRecognize
public chemaxon.common.util.Pair<Boolean,Collection<String>> tryToRecognize(String line, int lineNumber)
Recognizer
tryToRecognize
in class chemaxon.formats.recognizer.XYZRecognizer
line
- 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