org.apache.camel.component.file
Class FileBinding
java.lang.Object
org.apache.camel.component.file.FileBinding
- All Implemented Interfaces:
- Serializable, GenericFileBinding<File>
public class FileBinding
- extends Object
- implements GenericFileBinding<File>, Serializable
File binding with the File
type.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileBinding
public FileBinding()
getBody
public Object getBody(GenericFile<File> file)
- Description copied from interface:
GenericFileBinding
- Gets the body of the file
- Specified by:
getBody
in interface GenericFileBinding<File>
- Parameters:
file
- the file
- Returns:
- the body
setBody
public void setBody(GenericFile<File> file,
Object body)
- Description copied from interface:
GenericFileBinding
- Sets the body from the given file
- Specified by:
setBody
in interface GenericFileBinding<File>
- Parameters:
file
- the filebody
- the body
Copyright © 2009 Apache Software Foundation. All Rights Reserved.