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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFormats the value of this type according to a pattern (seeFormatter).inthashCode()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:TypeGet 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:
toFullStringin interfaceType- Returns:
- a full string representation of the type to be consumed by 'valueOf(String)'
-
valueOf
-
format
Description copied from interface:TypeFormats the value of this type according to a pattern (seeFormatter). -
hashCode
public int hashCode() -
equals
-