Package chemaxon.formats.recognizer
Class PDBRecognizer
java.lang.Object
chemaxon.formats.recognizer.Recognizer
chemaxon.formats.recognizer.PDBRecognizer
@PublicApi
@Deprecated(forRemoval=true)
@SubjectToRemoval(date=JUL_01_2025)
public class PDBRecognizer
extends Recognizer
Deprecated, for removal: This API element is subject to removal in a future version.
No longer used, will be removed.
PDB format recognizer.
- Since:
- Marvin 5.0, 06/08/2007
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Deprecated, for removal: This API element is subject to removal in a future version.static final int
Deprecated, for removal: This API element is subject to removal in a future version.static final int
Deprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class chemaxon.formats.recognizer.Recognizer
needsMore
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic int
Deprecated, for removal: This API element is subject to removal in a future version.static int
testRecord
(String recName) 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.Recognizer
getLastProcessedLineNum, guessFormat, isLastLine, needsMore, tryToRecognize
-
Field Details
-
NO
Deprecated, 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_BE
Deprecated, 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:
-
SURE
Deprecated, 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
-
PDBRecognizer
public PDBRecognizer()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
tryToRecognize
public 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:Recognizer
Checks whether the parameter line can be part of a valid (format specified) file on the given file position.- Overrides:
tryToRecognize
in classRecognizer
- 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
-
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.Checks if the given parameter is a PDB record name. -
testRecord
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public static int testRecord(String recName) Deprecated, for removal: This API element is subject to removal in a future version.Checks if the given parameter is a PDB record name.
-