Package org.openhab.core.library.types
Class StringType
java.lang.Object
org.openhab.core.library.types.StringType
- All Implemented Interfaces:
Command
,PrimitiveType
,State
,Type
- Author:
- Kai Kreuzer - Initial contribution
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Formats the value of this type according to a pattern (seeFormatter
).int
hashCode()
Get a string representation that contains the whole internal representation of the type.toString()
static StringType
-
Field Details
-
EMPTY
-
-
Constructor Details
-
StringType
public StringType() -
StringType
-
-
Method Details
-
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
-
format
Description copied from interface:Type
Formats the value of this type according to a pattern (seeFormatter
). -
hashCode
public int hashCode() -
equals
-