Class TextPlainToString
- java.lang.Object
-
- org.apache.qpid.server.message.mimecontentconverter.TextPlainToString
-
- All Implemented Interfaces:
MimeContentToObjectConverter<java.lang.String>
,Pluggable
public class TextPlainToString extends java.lang.Object implements MimeContentToObjectConverter<java.lang.String>
-
-
Constructor Summary
Constructors Constructor Description TextPlainToString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMimeType()
java.lang.Class<java.lang.String>
getObjectClass()
java.lang.String
getType()
java.lang.String
toObject(byte[] data)
-
-
-
Method Detail
-
getObjectClass
public java.lang.Class<java.lang.String> getObjectClass()
- Specified by:
getObjectClass
in interfaceMimeContentToObjectConverter<java.lang.String>
-
getMimeType
public java.lang.String getMimeType()
- Specified by:
getMimeType
in interfaceMimeContentToObjectConverter<java.lang.String>
-
toObject
public java.lang.String toObject(byte[] data)
- Specified by:
toObject
in interfaceMimeContentToObjectConverter<java.lang.String>
-
-