Package org.openhab.core.library.types
Class StringListType
java.lang.Object
org.openhab.core.library.types.StringListType
This type can be used for items that are dealing with telephony functionality.
- Author:
- Thomas Eichstaedt-Engelen - Initial contribution, Gaƫl L'hopital - port to Eclipse SmartHome
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStringListType
(String serialized) Deserialize the input string, splitting it on every delimiter not preceded by a backslash.StringListType
(String... rows) StringListType
(List<String> rows) StringListType
(StringType... rows) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Formats the value of this type according to a pattern (@seeFormatter
).getValue
(int index) int
hashCode()
Get a string representation that contains the whole internal representation of the type.toString()
static StringListType
-
Field Details
-
typeDetails
-
DELIMITER
- See Also:
-
ESCAPED_DELIMITER
- See Also:
-
REGEX_SPLITTER
- See Also:
-
-
Constructor Details
-
StringListType
public StringListType() -
StringListType
-
StringListType
-
StringListType
-
StringListType
Deserialize the input string, splitting it on every delimiter not preceded by a backslash.
-
-
Method Details
-
getValue
-
format
Formats the value of this type according to a pattern (@see
Formatter
). One single value of this type can be referenced by the pattern using an index. The item order is defined by the natural (alphabetical) order of their keys. -
toString
-
toFullString
Description copied from interface:Type
Get a string representation that contains the whole internal representation of the type.The returned string could be consumed by the static 'valueOf(String)' method of the respective type to build a new type that is equal to this type.
- Specified by:
toFullString
in interfaceType
- Returns:
- a full string representation of the type to be consumed by 'valueOf(String)'
-
valueOf
-
hashCode
public int hashCode() -
equals
-