Class FitsHeaderCardParser.ParsedValue

  • Enclosing class:
    FitsHeaderCardParser

    public static class FitsHeaderCardParser.ParsedValue
    extends java.lang.Object
    value comment pair of the header card.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String comment
      the comment specified with the value.
      private boolean isString
      was the value quoted?
      private java.lang.String value
      the value of the card.
    • Constructor Summary

      Constructors 
      Constructor Description
      ParsedValue()  
      ParsedValue​(java.lang.String value, java.lang.String comment)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getComment()  
      java.lang.String getValue()  
      boolean isString()  
      • Methods inherited from class java.lang.Object

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

      • comment

        private java.lang.String comment
        the comment specified with the value.
      • isString

        private final boolean isString
        was the value quoted?
      • value

        private java.lang.String value
        the value of the card. (trimmed)
    • Constructor Detail

      • ParsedValue

        public ParsedValue()
      • ParsedValue

        public ParsedValue​(java.lang.String value,
                           java.lang.String comment)
    • Method Detail

      • getComment

        public java.lang.String getComment()
        Returns:
        the comment of the card.
      • getValue

        public java.lang.String getValue()
        Returns:
        the value of the card.
      • isString

        public boolean isString()
        Returns:
        true if the value was quoted.