Class PdbHeaderLine

    • Constructor Detail

      • PdbHeaderLine

        public PdbHeaderLine()
    • 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 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
      • toPdb

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