Package pl.poznan.put.pdb
Class PdbHeaderLine
- java.lang.Object
-
- pl.poznan.put.pdb.PdbHeaderLine
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ImmutablePdbHeaderLine
@Immutable public abstract class PdbHeaderLine extends Object implements Serializable
A representation of HEADER file in PDB format.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PdbHeaderLine()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Stringclassification()abstract DatedepositionDate()abstract StringidCode()static PdbHeaderLineparse(String line)Parses text with HEADER line in PDB format.StringtoPdb()StringtoString()
-
-
-
Method Detail
-
parse
public static PdbHeaderLine parse(String line)
Parses text with HEADER line in PDB format.- Parameters:
line- Text with HEADER line in PDB format.- Returns:
- An instance of this class with fields set to values parsed from the
line.
-
classification
@Parameter(order=1) public abstract String classification()
- Returns:
- The value of the
classificationattribute
-
depositionDate
@Parameter(order=2) public abstract Date depositionDate()
- Returns:
- The value of the
depositionDateattribute
-
idCode
@Parameter(order=3) public abstract String idCode()
- Returns:
- The value of the
idCodeattribute
-
toPdb
public final String toPdb()
- Returns:
- A line in PDB format.
-
-