Package io.microsphere.convert
Class PropertiesToStringConverter
- java.lang.Object
-
- io.microsphere.convert.PropertiesToStringConverter
-
- All Implemented Interfaces:
Converter<java.util.Properties,java.lang.String>
,Prioritized
,java.lang.Comparable<Prioritized>
public class PropertiesToStringConverter extends java.lang.Object implements Converter<java.util.Properties,java.lang.String>
- Since:
- 1.0.0
- Author:
- Mercy
-
-
Field Summary
Fields Modifier and Type Field Description static PropertiesToStringConverter
INSTANCE
-
Fields inherited from interface io.microsphere.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description PropertiesToStringConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
convert(java.util.Properties source)
Convert the source-typed value to the target-typed value-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.microsphere.convert.Converter
accept, getSourceType, getTargetType
-
Methods inherited from interface io.microsphere.lang.Prioritized
compareTo, getPriority
-
-
-
-
Field Detail
-
INSTANCE
public static final PropertiesToStringConverter INSTANCE
-
-
Method Detail
-
convert
public java.lang.String convert(java.util.Properties source)
Description copied from interface:Converter
Convert the source-typed value to the target-typed value
-
-