org.apache.camel.dataformat.base64
Class Base64DataFormat
java.lang.Object
org.apache.camel.dataformat.base64.Base64DataFormat
- All Implemented Interfaces:
- org.apache.camel.spi.DataFormat
public class Base64DataFormat
- extends Object
- implements org.apache.camel.spi.DataFormat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64DataFormat
public Base64DataFormat()
marshal
public void marshal(org.apache.camel.Exchange exchange,
Object graph,
OutputStream stream)
throws Exception
- Specified by:
marshal
in interface org.apache.camel.spi.DataFormat
- Throws:
Exception
unmarshal
public Object unmarshal(org.apache.camel.Exchange exchange,
InputStream input)
throws Exception
- Specified by:
unmarshal
in interface org.apache.camel.spi.DataFormat
- Throws:
Exception
getLineLength
public int getLineLength()
setLineLength
public void setLineLength(int lineLength)
getLineSeparator
public byte[] getLineSeparator()
setLineSeparator
public void setLineSeparator(byte[] lineSeparator)
isUrlSafe
public boolean isUrlSafe()
setUrlSafe
public void setUrlSafe(boolean urlSafe)
Apache Camel