public enum HeaderToken extends Enum<HeaderToken> implements PDBToken
| Enum Constant and Description |
|---|
CLASSIFICATION |
DEPOSITION_DATE |
ID_CODE |
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
RECORD_PATTERN |
| Modifier and Type | Method and Description |
|---|---|
static String |
assemblePDBLine(String pdbIdentifier) |
de.bioforscher.singa.core.utility.Range<Integer> |
getColumns()
Gets the columns (the staring and ending index) where a value can be extracted.
|
Pattern |
getRecordNamePattern()
Returns the record name for this token.
|
static HeaderToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfendLine, extract, extractValueFromPDBLinepublic static final HeaderToken CLASSIFICATION
public static final HeaderToken DEPOSITION_DATE
public static final HeaderToken ID_CODE
public static final Pattern RECORD_PATTERN
public static HeaderToken[] values()
for (HeaderToken c : HeaderToken.values()) System.out.println(c);
public static HeaderToken valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Pattern getRecordNamePattern()
PDBTokengetRecordNamePattern in interface PDBTokenpublic de.bioforscher.singa.core.utility.Range<Integer> getColumns()
PDBTokengetColumns in interface PDBTokenCopyright © 2018. All rights reserved.