public class RemoteStorage extends Object
| Constructor and Description |
|---|
RemoteStorage() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getStreamByUrl(String url) |
String |
getUrlById(String id) |
File |
importById(String id) |
File |
importByUri(String uri) |
String |
putFile(File f,
boolean randomName) |
String |
putObject(Object outputs) |
String |
putStream(InputStream is,
String path) |
public String putStream(InputStream is, String path)
public String putObject(Object outputs) throws IOException
IOExceptionpublic File importByUri(String uri) throws MalformedURLException, FileNotFoundException, IOException
public InputStream getStreamByUrl(String url) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic File importById(String id) throws IOException
IOExceptionCopyright © 2016. All Rights Reserved.