|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.admin.integration.FileToResourceAdapter
@MessageEndpoint public class FileToResourceAdapter
Adapt a File to a Spring Resource so it can be consumed by a
generic consumer.
| Constructor Summary | |
|---|---|
FileToResourceAdapter()
|
|
| Method Summary | |
|---|---|
org.springframework.core.io.Resource |
adapt(java.io.File file)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileToResourceAdapter()
| Method Detail |
|---|
@ServiceActivator
public org.springframework.core.io.Resource adapt(java.io.File file)
throws org.springframework.batch.core.configuration.DuplicateJobException
org.springframework.batch.core.configuration.DuplicateJobException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||