org.springframework.batch.admin.service
Interface FileService
- All Known Implementing Classes:
- LocalFileService
public interface FileService
Encapsulation of file storage and creation hiding the actual location of the
files, but allowing their contents to be accessed by clients.
- Author:
- Dave Syer
createFile
FileInfo createFile(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
publish
boolean publish(FileInfo target)
throws java.io.IOException
- Throws:
java.io.IOException
getFiles
java.util.List<FileInfo> getFiles(int startFile,
int pageSize)
throws java.io.IOException
- Throws:
java.io.IOException
countFiles
int countFiles()
delete
int delete(java.lang.String pattern)
throws java.io.IOException
- Throws:
java.io.IOException
getResource
org.springframework.core.io.Resource getResource(java.lang.String path)
Copyright © 2011. All Rights Reserved.