- java.lang.Object
-
- com.erudika.para.core.storage.MockFileStore
-
-
Constructor Summary
Constructors Constructor Description MockFileStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandelete(String path)Deletes a file.InputStreamload(String path)Loads a file from a storage service.Stringstore(String path, InputStream data)Saves a file to a storage service.
-
-
-
Method Detail
-
load
public InputStream load(String path)
Description copied from interface:FileStoreLoads a file from a storage service.
-
store
public String store(String path, InputStream data)
Description copied from interface:FileStoreSaves a file to a storage service.
-
-