Package io.microsphere.convert
Class ByteArrayToObjectConverter
- java.lang.Object
-
- io.microsphere.convert.ByteArrayToObjectConverter
-
- All Implemented Interfaces:
Converter<byte[],java.lang.Object>
,Prioritized
,java.lang.Comparable<Prioritized>
public class ByteArrayToObjectConverter extends java.lang.Object implements Converter<byte[],java.lang.Object>
The class coverts thebyte array
object to be aObject
instance .- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
Serializable
-
-
Field Summary
Fields Modifier and Type Field Description static ByteArrayToObjectConverter
INSTANCE
The Singleton instance ofByteArrayToObjectConverter
-
Fields inherited from interface io.microsphere.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description ByteArrayToObjectConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Serializable
convert(byte[] 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 ByteArrayToObjectConverter INSTANCE
The Singleton instance ofByteArrayToObjectConverter
-
-
Method Detail
-
convert
public java.io.Serializable convert(byte[] source)
Description copied from interface:Converter
Convert the source-typed value to the target-typed value
-
-