Package chemaxon.formats.recognizer
Class CubeRecognizer
- java.lang.Object
-
- chemaxon.formats.recognizer.Recognizer
-
- chemaxon.formats.recognizer.XYZRecognizer
-
- chemaxon.formats.recognizer.CubeRecognizer
-
@Deprecated @PublicAPI public class CubeRecognizer extends chemaxon.formats.recognizer.XYZRecognizer
Deprecated.as of Marvin 2014.07.21.0 intended for internal use onlyGaussian Cube format recognizer.- Since:
- Marvin 5.0, 06/08/2007
-
-
Field Summary
-
Fields inherited from class chemaxon.formats.recognizer.Recognizer
needsMore
-
-
Constructor Summary
Constructors Constructor Description CubeRecognizer()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from class chemaxon.formats.recognizer.XYZRecognizer
findNonWS, findReals, findWS, isXYZAtomLine, isXYZCountLine
-
Methods inherited from class chemaxon.formats.recognizer.Recognizer
getLastProcessedLineNum, guessFormat, isLastLine, needsMore, tryToRecognize
-
-
-
-
Method Detail
-
tryToRecognize
public chemaxon.common.util.Pair<Boolean,Collection<String>> tryToRecognize(String line, int lineNumber)
Deprecated.Description copied from class:Recognizer
Checks whether the parameter line can be part of a valid (format specified) file on the given file position.- Overrides:
tryToRecognize
in classchemaxon.formats.recognizer.XYZRecognizer
- Parameters:
line
- the line stringlineNumber
- the position of the line- Returns:
- a
Pair
of which second parameter gives the format name collection that is:- Recognized to be excluded if the first parameter is false
- Positively recognized if the first parameter is true
-
isCubeLine
public static boolean isCubeLine(String line, int count)
Deprecated.Checks if it is a cube line: an integer followed by floats.- Parameters:
line
- the input linecount
- the number of floats- Returns:
true
if the line can be a cube line,false
otherwise
-
-