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(String path)
throws IOException
- Throws:
IOException
publish
boolean publish(FileInfo target)
throws IOException
- Throws:
IOException
getFiles
List<FileInfo> getFiles(int startFile,
int pageSize)
throws IOException
- Throws:
IOException
countFiles
int countFiles()
delete
int delete(String pattern)
throws IOException
- Throws:
IOException
getResource
Resource getResource(String path)
Copyright © 2011. All Rights Reserved.