org.apache.camel.dataformat.base64
Class Base64DataFormat

java.lang.Object
  extended by 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


Constructor Summary
Base64DataFormat()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64DataFormat

public Base64DataFormat()
Method Detail

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