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:
  • Constructor Details

    • PdbHeaderLine

      public PdbHeaderLine()
  • Method Details

    • 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 classification attribute
    • depositionDate

      @Parameter(order=2) public abstract Date depositionDate()
      Returns:
      The value of the depositionDate attribute
    • idCode

      @Parameter(order=3) public abstract String idCode()
      Returns:
      The value of the idCode attribute
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • toPdb

      public final String toPdb()
      Returns:
      A line in PDB format.