zhaowenyu
2025-12-24 19763ebd20ad16435f3c1ccfdc8abd1518712cc1
ard-oss/src/main/java/com/ard/oss/service/IOssService.java
@@ -12,14 +12,14 @@
 */
public interface IOssService {
    String getOssType();
    public String getOssType();
    /**
     * Get temporary credentials.
     *
     * @return
     */
    CredentialsDTO getCredentials();
    public CredentialsDTO getCredentials();
    /**
     * Get the address of the object based on the bucket name and the object name.
@@ -28,7 +28,7 @@
     * @param objectKey object name
     * @return download link
     */
    URL getObjectUrl(String bucket, String objectKey);
    public URL getObjectUrl(String bucket, String objectKey);
    /**
     * Deletes the object in the storage bucket.
@@ -37,7 +37,7 @@
     * @param objectKey
     * @return
     */
    Boolean deleteObject(String bucket, String objectKey);
    public Boolean deleteObject(String bucket, String objectKey);
    /**
     * Get the contents of an object.
@@ -46,12 +46,12 @@
     * @param objectKey
     * @return
     */
    InputStream getObject(String bucket, String objectKey);
    public InputStream getObject(String bucket, String objectKey);
    void putObject(String bucket, String objectKey, InputStream input);
    public void putObject(String bucket, String objectKey, InputStream input);
    void putObject(String bucket, String objectKey, InputStream input, String contentType);
    public void putObject(String bucket, String objectKey, InputStream input, String contentType);
    void createClient();
    public void createClient();
}