Class StringMorpher
java.lang.Object
org.kordamp.ezmorph.object.StringMorpher
- All Implemented Interfaces:
Morpher, ObjectMorpher
Morphs to a String.
This morpher is a singleton.
This morpher is a singleton.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StringMorpherReturns the singleton instanceinthashCode()Morphs the input object into an output object of the supported type.Class<?> morphsTo()Returns the target Class for conversion.booleanReturns true if the Morpher supports conversion from this Class.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
StringMorpher
private StringMorpher()
-
-
Method Details
-
getInstance
Returns the singleton instance -
equals
-
hashCode
-
morph
Description copied from interface:ObjectMorpherMorphs the input object into an output object of the supported type.- Specified by:
morphin interfaceObjectMorpher- Parameters:
value- The input value to be morphed
-
morphsTo
-
supports
-