Package io.microsphere.convert
Class StringToInputStreamConverter
- java.lang.Object
-
- io.microsphere.convert.StringToInputStreamConverter
-
- All Implemented Interfaces:
Converter<java.lang.String,java.io.InputStream>,StringConverter<java.io.InputStream>,Prioritized,java.lang.Comparable<Prioritized>
public class StringToInputStreamConverter extends java.lang.Object implements StringConverter<java.io.InputStream>
The class to convertStringtoInputStream- Since:
- 1.0.0
- Author:
- Mercy
-
-
Field Summary
-
Fields inherited from interface io.microsphere.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description StringToInputStreamConverter()StringToInputStreamConverter(java.lang.String encoding)StringToInputStreamConverter(java.nio.charset.Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamconvert(java.lang.String 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
-
-
-
-
Method Detail
-
convert
public java.io.InputStream convert(java.lang.String source)
Description copied from interface:ConverterConvert the source-typed value to the target-typed value
-
-