Package io.getstream.cloud
Class CloudImageStorageClient
- java.lang.Object
-
- io.getstream.cloud.CloudImageStorageClient
-
public final class CloudImageStorageClient extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java8.util.concurrent.CompletableFuture<java.lang.Void>delete(java.net.URL url)java8.util.concurrent.CompletableFuture<java.net.URL>process(java.net.URL url, Crop crop)java8.util.concurrent.CompletableFuture<java.net.URL>process(java.net.URL url, Resize resize)java8.util.concurrent.CompletableFuture<java.net.URL>upload(java.io.File content)java8.util.concurrent.CompletableFuture<java.net.URL>upload(java.lang.String fileName, byte[] content)
-
-
-
Method Detail
-
upload
public java8.util.concurrent.CompletableFuture<java.net.URL> upload(java.lang.String fileName, byte[] content) throws StreamException- Throws:
StreamException
-
upload
public java8.util.concurrent.CompletableFuture<java.net.URL> upload(java.io.File content) throws StreamException- Throws:
StreamException
-
delete
public java8.util.concurrent.CompletableFuture<java.lang.Void> delete(java.net.URL url) throws StreamException- Throws:
StreamException
-
process
public java8.util.concurrent.CompletableFuture<java.net.URL> process(java.net.URL url, Crop crop) throws StreamException- Throws:
StreamException
-
process
public java8.util.concurrent.CompletableFuture<java.net.URL> process(java.net.URL url, Resize resize) throws StreamException- Throws:
StreamException
-
-