|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface ReportDataBlock defines methods for station and subset data reports.
Method Summary | |
int |
compareTo(java.lang.Object cmpObj)
Compares this object with the given object for order. |
java.lang.String |
getDetailDisplayString(boolean shortFlag,
java.lang.String indentStr)
Returns a report-format display string of the "detail" items in this data block. |
java.lang.String |
getDisplayString(boolean showTimeFlag)
Returns a report-format display string of the items in this data block. |
java.lang.String |
getDisplayString(boolean showTimeFlag,
boolean noNameFlag)
Returns a report-format display string of the items in this data block. |
java.lang.String |
getName()
Returns the item name. |
java.lang.String |
getShortDisplayString()
Returns a short-version report-format display string of the items in this data block. |
long |
getTimeVal()
Returns the time value associated with the data (in seconds since 1/1/1970). |
Method Detail |
public java.lang.String getName()
public long getTimeVal()
public java.lang.String getDisplayString(boolean showTimeFlag, boolean noNameFlag)
showTimeFlag
- true to display the time value with the data.noNameFlag
- true to not display the item name and to put the
time value after the data, false to display the name and to put the
time value before the data.
public java.lang.String getDisplayString(boolean showTimeFlag)
showTimeFlag
- true to display the time value after the data.
public java.lang.String getShortDisplayString()
public java.lang.String getDetailDisplayString(boolean shortFlag, java.lang.String indentStr)
shortFlag
- if true then a short version of the display string
is returned.indentStr
- indentation to use, or null for default indentation.
public int compareTo(java.lang.Object cmpObj)
compareTo
in interface java.lang.Comparable
cmpObj
- a 'ReportDataBlock' object to compare to.
'ClassCastException'
- if the given object is not of
a matching type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |