public interface FileDataService
Modifier and Type | Method and Description |
---|---|
void |
createNewFileData(FileData fileData)
Insert new data about a file
|
long |
fileCount(String fileset)
Get the number of files in a given fileset
|
FileData |
findFile(String fileset,
String remoteName)
Find a specific file based on the file name in the remote store
|
FileData |
getRandomFile(String fileset)
Get a random file description from a given dataset
|
FileData |
getRandomFile(String fileset,
String extension)
Get a random file description from a given dataset and with the given file extension
|
void |
removeFile(String fileset,
String remoteName)
Remove a specific file index based on the file name in the remote store
|
void createNewFileData(FileData fileData)
long fileCount(String fileset)
FileData findFile(String fileset, String remoteName)
fileset
- the name of the filesetremoteName
- the name of the file in the remote storevoid removeFile(String fileset, String remoteName)
fileset
- the name of the filesetremoteName
- the name of the file in the remote storeFileData getRandomFile(String fileset)
fileset
- the name of a dataset to choose a file fromCopyright © 2014. All rights reserved.