org.apache.camel.component.file
Class GenericFileConverter

java.lang.Object
  extended by org.apache.camel.component.file.GenericFileConverter

@Converter
public final class GenericFileConverter
extends Object

A set of converter methods for working with generic file types


Method Summary
static Object convertTo(Class<?> type, Exchange exchange, Object value, TypeConverterRegistry registry)
           
static String convertToString(GenericFile file, Exchange exchange)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convertTo

@FallbackConverter
public static Object convertTo(Class<?> type,
                                                 Exchange exchange,
                                                 Object value,
                                                 TypeConverterRegistry registry)

convertToString

@Converter
public static String convertToString(GenericFile file,
                                               Exchange exchange)


Apache CAMEL