org.gcube.portlets.user.td.gwtservice.server.storage
Class FilesStorage
java.lang.Object
org.gcube.portlets.user.td.gwtservice.server.storage.FilesStorage
public class FilesStorage
- extends Object
- Author:
- "Giancarlo Panichi" g.panichi@isti.cnr.it
|
Field Summary |
static org.slf4j.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final org.slf4j.Logger logger
FilesStorage
public FilesStorage()
storageCSVTempFile
public String storageCSVTempFile(String user,
File file)
retriveFile
public void retriveFile(String user,
org.gcube.common.homelibrary.home.workspace.WorkspaceItem wi,
File file)
throws TDGWTServiceException
- user
- Parameters:
user - UserremotePath - File path on storagefile - Destination file
- Throws:
TDGWTServiceException
retriveImputStream
public InputStream retriveImputStream(String user,
org.gcube.common.homelibrary.home.workspace.WorkspaceItem wi)
throws TDGWTServiceException
- Parameters:
user - UserremotePath - File path on storage
- Returns:
- InputStream back to read the file
- Throws:
TDGWTServiceException
Copyright © 2013. All Rights Reserved.