Interface FileStorageReader
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
RandomAccessFileStoreReader
public interface FileStorageReader extends Closeable
- Since:
- 5.0
- Author:
- Eugene.Petrenko
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
readFile(FileKey id)
Fetches saved file from store by id
-
-
-
Method Detail
-
readFile
@NotNull InputStream readFile(@NotNull FileKey id) throws IOException
Fetches saved file from store by id- Parameters:
id
- file id- Returns:
- input stream containing the file
- Throws:
IOException
-
-