org.gcube.data.analysis.statisticalmanager.persistence
Class RemoteStorage

java.lang.Object
  extended by org.gcube.data.analysis.statisticalmanager.persistence.RemoteStorage

public class RemoteStorage
extends Object


Constructor Summary
RemoteStorage(String userLogin, String scope)
           
 
Method Summary
 File getFile(String path)
           
 String putFile(File file, String fileName)
           
 String putObject(Object outputs)
           
 void putStream(InputStream is, String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteStorage

public RemoteStorage(String userLogin,
                     String scope)
              throws Exception
Throws:
Exception
Method Detail

putFile

public String putFile(File file,
                      String fileName)

putStream

public void putStream(InputStream is,
                      String path)

putObject

public String putObject(Object outputs)
                 throws IOException
Throws:
IOException

getFile

public File getFile(String path)
             throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.