Interface YaspHeader
-
- All Known Implementing Classes:
YaspHeaderImpl
public interface YaspHeader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.DoublegetDoubleData(YaspHeaderData data)Retrieve the double value for the givenYaspHeaderDatajava.lang.LonggetLongData(YaspHeaderData data)Retrieve the long data for the givenYaspHeaderData.java.lang.StringgetStringData(YaspHeaderData data)Retrieve the string data for the givenYaspHeaderData.
-
-
-
Method Detail
-
getStringData
java.lang.String getStringData(YaspHeaderData data)
Retrieve the string data for the givenYaspHeaderData.- Parameters:
data- theYaspHeaderDatato 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 givenYaspHeaderData.- Parameters:
data- theYaspHeaderDatato 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 givenYaspHeaderData- Parameters:
data- theYaspHeaderDatato retrieve- Returns:
- the double value in the current yasp reading or
Double.NaNin case the data was not found
-
-