Interface YaspHeader

  • All Known Implementing Classes:
    YaspHeaderImpl

    public interface YaspHeader
    • Method Detail

      • getStringData

        java.lang.String getStringData​(YaspHeaderData data)
        Retrieve the string data for the given YaspHeaderData.
        Parameters:
        data - the YaspHeaderData to retrieve
        Returns:
        the value in the current yasp reading or an empty string in case the data was not found
      • getLongData

        java.lang.Long getLongData​(YaspHeaderData data)
        Retrieve the long data for the given YaspHeaderData.
        Parameters:
        data - the YaspHeaderData to retrieve
        Returns:
        the value in the current yasp reading or 0L in case the data was not found
      • getDoubleData

        java.lang.Double getDoubleData​(YaspHeaderData data)
        Retrieve the double value for the given YaspHeaderData
        Parameters:
        data - the YaspHeaderData to retrieve
        Returns:
        the double value in the current yasp reading or Double.NaN in case the data was not found