org.apache.camel.component.file
Interface GenericFileBinding<T>

All Known Implementing Classes:
FileBinding, GenericFileDefaultBinding

public interface GenericFileBinding<T>

Binding between the generic file and the body content.


Method Summary
 Object getBody(GenericFile<T> file)
          Gets the body of the file
 void setBody(GenericFile<T> file, Object body)
          Sets the body from the given file
 

Method Detail

getBody

Object getBody(GenericFile<T> file)
Gets the body of the file

Parameters:
file - the file
Returns:
the body

setBody

void setBody(GenericFile<T> file,
             Object body)
Sets the body from the given file

Parameters:
file - the file
body - the body


Copyright © 2009 Apache Software Foundation. All Rights Reserved.