org.apache.camel.spring.spi
Class SpringConverters
java.lang.Object
org.apache.camel.spring.spi.SpringConverters
@Converter
public final class SpringConverters
- extends Object
Some Spring based
Type Converters
- Version:
- $Revision: 738604 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toInputStream
@Converter
public static InputStream toInputStream(Resource resource)
throws IOException
- Throws:
IOException
toFile
@Converter
public static File toFile(Resource resource)
throws IOException
- Throws:
IOException
toUrl
@Converter
public static URL toUrl(Resource resource)
throws IOException
- Throws:
IOException
toResource
@Converter
public static UrlResource toResource(String uri)
throws IOException
- Throws:
IOException
toResource
@Converter
public static UrlResource toResource(URL uri)
throws IOException
- Throws:
IOException
toResource
@Converter
public static FileSystemResource toResource(File file)
throws IOException
- Throws:
IOException
toResource
@Converter
public static ByteArrayResource toResource(byte[] data)
throws IOException
- Throws:
IOException
toBeanInvocation
@Converter
public static BeanInvocation toBeanInvocation(org.aopalliance.intercept.MethodInvocation invocation)
Apache CAMEL