public class CloudFileServiceLocalImpl extends Object implements CloudFileService
| Constructor and Description |
|---|
CloudFileServiceLocalImpl(String rootDir) |
| Modifier and Type | Method and Description |
|---|---|
org.noear.solon.core.handle.Result |
delete(String bucket,
String key) |
org.noear.solon.core.handle.Result |
deleteBatch(String bucket,
Collection<String> keys) |
boolean |
exists(String bucket,
String key) |
Media |
get(String bucket,
String key) |
String |
getTempUrl(String bucket,
String key,
Duration duration) |
org.noear.solon.core.handle.Result |
put(String bucket,
String key,
Media media) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, deleteBatch, exists, get, getTempUrl, getTempUrl, getTempUrl, putpublic CloudFileServiceLocalImpl(String rootDir)
public boolean exists(String bucket, String key) throws CloudFileException
exists in interface CloudFileServiceCloudFileExceptionpublic String getTempUrl(String bucket, String key, Duration duration) throws CloudFileException, UnsupportedOperationException
getTempUrl in interface CloudFileServiceCloudFileExceptionUnsupportedOperationExceptionpublic Media get(String bucket, String key) throws CloudFileException
get in interface CloudFileServiceCloudFileExceptionpublic org.noear.solon.core.handle.Result put(String bucket, String key, Media media) throws CloudFileException
put in interface CloudFileServiceCloudFileExceptionpublic org.noear.solon.core.handle.Result delete(String bucket, String key) throws CloudFileException
delete in interface CloudFileServiceCloudFileExceptionpublic org.noear.solon.core.handle.Result deleteBatch(String bucket, Collection<String> keys) throws CloudFileException
deleteBatch in interface CloudFileServiceCloudFileExceptionCopyright © 2025. All rights reserved.