@PublicAPI @Deprecated public class PeptideRecognizer extends Recognizer
needsMore
Constructor and Description |
---|
PeptideRecognizer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
canBe1LetterPeptide(java.lang.String s)
Deprecated.
Tests whether a string can be one-letter-abbreviated
peptide name.
A valid name contains only uppercase letters. |
static boolean |
canBe3LetterPeptide(java.lang.String s)
Deprecated.
Tests whether a string can be three-letter-abbreviated
peptide name.
|
java.lang.String |
guessFormat(java.lang.String line)
Deprecated.
Tries to guess the format of the given line.
|
static java.lang.String |
guessPeptideFormat(java.lang.String header)
Deprecated.
as of Marvin 2014.07.21.0 intended for internal use
|
chemaxon.common.util.Pair<java.lang.Boolean,java.util.Collection<java.lang.String>> |
tryToRecognize(java.lang.String line,
int lineNumber)
Deprecated.
Checks whether the parameter line can be part of a valid (format specified) file on the given file position.
|
getLastProcessedLineNum, isLastLine, needsMore, tryToRecognize
public chemaxon.common.util.Pair<java.lang.Boolean,java.util.Collection<java.lang.String>> tryToRecognize(java.lang.String line, int lineNumber)
Recognizer
tryToRecognize
in class Recognizer
line
- the line stringlineNumber
- the position of the linePair
of which second parameter gives the format name collection that is:
public static boolean canBe1LetterPeptide(java.lang.String s)
s
- the input string@Deprecated public static java.lang.String guessPeptideFormat(java.lang.String header)
header
- first few chars of the input streampublic static boolean canBe3LetterPeptide(java.lang.String s)
s
- the input stringpublic java.lang.String guessFormat(java.lang.String line)
Recognizer
guessFormat
in class Recognizer
line
- the line