|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
loadContent(Exchange exchange,
GenericFile<?> file)
Ensures the content is loaded from the file into memory |
void |
setBody(GenericFile<T> file,
Object body)
Sets the body from the given file |
Method Detail |
---|
Object getBody(GenericFile<T> file)
file
- the file
void setBody(GenericFile<T> file, Object body)
file
- the filebody
- the bodyvoid loadContent(Exchange exchange, GenericFile<?> file) throws IOException
exchange
- the current exchangefile
- the file
IOException
- is thrown if the content could not be loaded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |