Package chemaxon.formats.recognizer
Class CubeRecognizer
java.lang.Object
chemaxon.formats.recognizer.Recognizer
chemaxon.formats.recognizer.XYZRecognizer
chemaxon.formats.recognizer.CubeRecognizer
@PublicApi
@Deprecated(forRemoval=true)
@SubjectToRemoval(date=JUL_01_2025)
public class CubeRecognizer
extends chemaxon.formats.recognizer.XYZRecognizer
Deprecated, for removal: This API element is subject to removal in a future version.
No longer used, will be removed.
Gaussian Cube format recognizer.
- Since:
- Marvin 5.0, 06/08/2007
- 
Field SummaryFields inherited from class chemaxon.formats.recognizer.RecognizerneedsMore
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanisCubeLine(String line, int count) Deprecated, for removal: This API element is subject to removal in a future version.chemaxon.common.util.Pair<Boolean, Collection<String>> tryToRecognize(String line, int lineNumber) Deprecated, for removal: This API element is subject to removal in a future version.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.XYZRecognizerfindNonWS, findReals, findWS, isXYZAtomLine, isXYZCountLineMethods inherited from class chemaxon.formats.recognizer.RecognizergetLastProcessedLineNum, guessFormat, isLastLine, needsMore, tryToRecognize
- 
Constructor Details- 
CubeRecognizerpublic CubeRecognizer()Deprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
tryToRecognizepublic chemaxon.common.util.Pair<Boolean,Collection<String>> tryToRecognize(String line, int lineNumber) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:RecognizerChecks whether the parameter line can be part of a valid (format specified) file on the given file position.- Overrides:
- tryToRecognizein class- chemaxon.formats.recognizer.XYZRecognizer
- Parameters:
- line- the line string
- lineNumber- the position of the line
- Returns:
- a Pairof 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@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public static boolean isCubeLine(String line, int count) Deprecated, for removal: This API element is subject to removal in a future version.Checks if it is a cube line: an integer followed by floats.- Parameters:
- line- the input line
- count- the number of floats
- Returns:
- trueif the line can be a cube line,- falseotherwise
 
 
-