Class FileSystemStorageService
java.lang.Object
de.adorsys.datasafe.storage.impl.fs.FileSystemStorageService
- All Implemented Interfaces:
StorageCheckService,StorageListService,StorageReadService,StorageRemoveService,StorageWriteService,StorageService
Filesystem (
java.nio.file) compatible storage service default implementation.
Note: Stores paths in URL-encoded form.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlist(AbsoluteLocation path) Lists resources and returns their location without access credentials.booleanobjectExists(AbsoluteLocation location) read(AbsoluteLocation path) voidremove(AbsoluteLocation location) protected Pathwrite(WithCallback<AbsoluteLocation, ? extends ResourceWriteCallback> locationWithCallback) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.adorsys.datasafe.storage.api.actions.StorageWriteService
flushChunkSize
-
Constructor Details
-
FileSystemStorageService
-
-
Method Details
-
list
Lists resources and returns their location without access credentials.- Specified by:
listin interfaceStorageListService
-
read
- Specified by:
readin interfaceStorageReadService
-
write
public OutputStream write(WithCallback<AbsoluteLocation, ? extends ResourceWriteCallback> locationWithCallback) - Specified by:
writein interfaceStorageWriteService
-
remove
- Specified by:
removein interfaceStorageRemoveService
-
objectExists
- Specified by:
objectExistsin interfaceStorageCheckService
-
resolve
-