public class Base64DataFormat
extends org.apache.camel.support.ServiceSupport
implements org.apache.camel.spi.DataFormat, org.apache.camel.spi.DataFormatName
Constructor and Description |
---|
Base64DataFormat() |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
String |
getDataFormatName() |
int |
getLineLength() |
byte[] |
getLineSeparator() |
boolean |
isUrlSafe() |
void |
marshal(org.apache.camel.Exchange exchange,
Object graph,
OutputStream stream) |
void |
setLineLength(int lineLength) |
void |
setLineSeparator(byte[] lineSeparator) |
void |
setUrlSafe(boolean urlSafe) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream input) |
public String getDataFormatName()
getDataFormatName
in interface org.apache.camel.spi.DataFormatName
public void marshal(org.apache.camel.Exchange exchange, Object graph, OutputStream stream) throws Exception
marshal
in interface org.apache.camel.spi.DataFormat
Exception
public Object unmarshal(org.apache.camel.Exchange exchange, InputStream input) throws Exception
unmarshal
in interface org.apache.camel.spi.DataFormat
Exception
public int getLineLength()
public void setLineLength(int lineLength)
public byte[] getLineSeparator()
public void setLineSeparator(byte[] lineSeparator)
public boolean isUrlSafe()
public void setUrlSafe(boolean urlSafe)
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.ServiceSupport
Exception
Apache Camel