@Metadata(firstVersion="2.12.0", label="dataformat,transformation,core", title="String Encoding") public class StringDataFormat extends DataFormatDefinition
Constructor and Description |
---|
StringDataFormat() |
Modifier and Type | Method and Description |
---|---|
protected DataFormat |
createDataFormat(RouteContext routeContext)
Factory method to create the data format instance
|
String |
getCharset() |
void |
setCharset(String charset)
Sets an encoding to use.
|
configureDataFormat, configureDataFormat, getContentTypeHeader, getDataFormat, getDataFormat, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributes, setProperty, setProperty
getId, setId
public StringDataFormat()
protected DataFormat createDataFormat(RouteContext routeContext)
DataFormatDefinition
createDataFormat
in class DataFormatDefinition
public String getCharset()
public void setCharset(String charset)
Apache Camel