Class Hdr

  • All Implemented Interfaces:
    Header

    class Hdr
    extends java.lang.Object
    implements Header
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String line  
      (package private) java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      Hdr​(java.lang.String l)  
      Hdr​(java.lang.String n, java.lang.String v)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns the name of this header.
      java.lang.String getValue()
      Returns the value of this header.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        java.lang.String name
      • line

        java.lang.String line
    • Constructor Detail

      • Hdr

        Hdr​(java.lang.String l)
      • Hdr

        Hdr​(java.lang.String n,
            java.lang.String v)
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Header
        Returns the name of this header.
        Specified by:
        getName in interface Header
        Returns:
        name of the header
      • getValue

        public java.lang.String getValue()
        Description copied from interface: Header
        Returns the value of this header.
        Specified by:
        getValue in interface Header
        Returns:
        value of the header