public interface ExtraFileImporter
Modifier and Type | Method and Description |
---|---|
File |
importExtraFile(String filename,
InputStreamLocator locator)
Import the file data into a file in the BASE file system.
|
File importExtraFile(String filename, InputStreamLocator locator) throws IOException
BfsImporter
will call this method once for each extra
file (entries starting with 'x-') in the metadata file.
The implementation is supposed to create a file in the BASE file
system or link to an existing file. The returned file will be
automatically linked with the child bioassay set.filename
- The filename of the file that is being importedlocator
- A locator implementation that should be used to
find the file data if neededIOException
- If there is a problem reading the file data