org.apache.camel.component.jhc
Class JhcConverter

java.lang.Object
  extended by org.apache.camel.component.jhc.JhcConverter

public final class JhcConverter
extends Object

Created by IntelliJ IDEA. User: gnodet Date: Sep 10, 2007 Time: 8:26:44 AM To change this template use File | Settings | File Templates.


Method Summary
static byte[] toByteArray(org.apache.http.HttpEntity entity)
           
static org.apache.http.HttpEntity toEntity(InputStream is)
           
static org.apache.http.HttpEntity toEntity(String str)
           
static InputStream toInputStream(org.apache.http.HttpEntity entity)
           
static String toString(org.apache.http.HttpEntity entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toInputStream

public static InputStream toInputStream(org.apache.http.HttpEntity entity)
                                 throws IOException
Throws:
IOException

toByteArray

public static byte[] toByteArray(org.apache.http.HttpEntity entity)
                          throws IOException
Throws:
IOException

toString

public static String toString(org.apache.http.HttpEntity entity)
                       throws IOException
Throws:
IOException

toEntity

public static org.apache.http.HttpEntity toEntity(InputStream is)

toEntity

public static org.apache.http.HttpEntity toEntity(String str)
                                           throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException


Apache CAMEL