Package org.yamcs.studio.eventlog
Class UIPreferences
java.lang.Object
org.yamcs.studio.eventlog.UIPreferences
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
intArrayToString
(int[] data) Converts an integer array into a String separated by commasstatic int[]
stringToIntArray
(String value, int cnt) Converts a persisted String separated with commas to an integer array
-
Field Details
-
EVENT_DETAIL_SPLIT
- See Also:
-
-
Constructor Details
-
UIPreferences
public UIPreferences()
-
-
Method Details
-
stringToIntArray
Converts a persisted String separated with commas to an integer array- Parameters:
value
- the String valuecnt
- number of entries in the returned array- Returns:
- the preference values for the array, or null if the string cannot be parsed or doesn't have
cnt
elements, or any value is <= 0.
-
intArrayToString
Converts an integer array into a String separated by commas
-