Package com.adobe.testing.s3mock.store
Class StoreBase
-
- All Implemented Interfaces:
public abstract class StoreBase
-
-
Constructor Summary
Constructors Constructor Description StoreBase()
-
Method Summary
Modifier and Type Method Description final FileinputPathToFile(Path inputPath, Path filePath)Stores the content of an InputStream in a File. -
-
Method Detail
-
inputPathToFile
final File inputPathToFile(Path inputPath, Path filePath)
Stores the content of an InputStream in a File. Creates the File if it does not exist. Uses buffered streams with a fixed buffer size to optimize memory usage for large files.
- Parameters:
inputPath- the incoming binary data to be saved.filePath- Path where the stream should be saved.- Returns:
the newly created File.
-
-
-
-