Package chemaxon.formats.recognizer
Class AbbrevGroupRecognizer
java.lang.Object
chemaxon.formats.recognizer.Recognizer
chemaxon.formats.recognizer.AbbrevGroupRecognizer
@PublicApi
@Deprecated(forRemoval=true)
@SubjectToRemoval(date=JUL_01_2025)
public class AbbrevGroupRecognizer
extends Recognizer
Deprecated, for removal: This API element is subject to removal in a future version.
No longer used, will be removed.
AbbrevGroup format recognizer.
- Since:
- Marvin 5.0, 06/08/2007
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intDeprecated, for removal: This API element is subject to removal in a future version.static final intDeprecated, for removal: This API element is subject to removal in a future version.static final intDeprecated, for removal: This API element is subject to removal in a future version.Fields 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 TypeMethodDescriptionguessFormat(String line) Deprecated, for removal: This API element is subject to removal in a future version.Tries to guess the format of the given line.static intDeprecated, 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.RecognizergetLastProcessedLineNum, isLastLine, needsMore, tryToRecognize
- 
Field Details- 
NODeprecated, for removal: This API element is subject to removal in a future version.Line is not in the given format. Return value for testLine methods.- See Also:
 
- 
CAN_BEDeprecated, for removal: This API element is subject to removal in a future version.Line can be in the given format. Return value for testLine methods.- See Also:
 
- 
SUREDeprecated, for removal: This API element is subject to removal in a future version.Line is surely in the given format. Return value for testLine methods.- See Also:
 
 
- 
- 
Constructor Details- 
AbbrevGroupRecognizerpublic AbbrevGroupRecognizer()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- Recognizer
- 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
 
 
- 
testLine@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public static int testLine(String line) Deprecated, for removal: This API element is subject to removal in a future version.Tests whether a string can be in AbbrevGroup format.
- 
guessFormatDeprecated, for removal: This API element is subject to removal in a future version.Description copied from class:RecognizerTries to guess the format of the given line. It is useful for single line formats.- Overrides:
- guessFormatin class- Recognizer
- Parameters:
- line- the line
- Returns:
- the name of the most likely format, that this recognizer can recognize, or null the format could not be decided
 
 
-