Package io.getstream.core
Class StreamFiles
- java.lang.Object
-
- io.getstream.core.StreamFiles
-
public class StreamFiles 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(Token token, java.net.URL targetURL)
java8.util.concurrent.CompletableFuture<java.net.URL>
upload(Token token, java.io.File content)
java8.util.concurrent.CompletableFuture<java.net.URL>
upload(Token token, java.lang.String fileName, byte[] content)
-
-
-
Method Detail
-
upload
public java8.util.concurrent.CompletableFuture<java.net.URL> upload(Token token, java.lang.String fileName, byte[] content) throws StreamException
- Throws:
StreamException
-
upload
public java8.util.concurrent.CompletableFuture<java.net.URL> upload(Token token, java.io.File content) throws StreamException
- Throws:
StreamException
-
delete
public java8.util.concurrent.CompletableFuture<java.lang.Void> delete(Token token, java.net.URL targetURL) throws StreamException
- Throws:
StreamException
-
-