org.gcube.contentmanagement
Class StorageManagerResourcePlugin
java.lang.Object
org.gcube.contentmanagement.StorageManagerResourcePlugin
- All Implemented Interfaces:
- org.gcube.portlets.user.homelibrary.home.workspace.ExternalResourceLinkPlugin
public class StorageManagerResourcePlugin
- extends Object
- implements org.gcube.portlets.user.homelibrary.home.workspace.ExternalResourceLinkPlugin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageManagerResourcePlugin
public StorageManagerResourcePlugin()
getPluginName
public String getPluginName()
- Specified by:
getPluginName in interface org.gcube.portlets.user.homelibrary.home.workspace.ExternalResourceLinkPlugin
getContent
public InputStream getContent(org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalResourceLink item)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ExternalResourceBrokenLinkException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getContent in interface org.gcube.portlets.user.homelibrary.home.workspace.ExternalResourceLinkPlugin
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ExternalResourceBrokenLinkException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
extractLocation
public static String extractLocation(String url)
getSize
public long getSize(org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalResourceLink item)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ExternalResourceBrokenLinkException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getSize in interface org.gcube.portlets.user.homelibrary.home.workspace.ExternalResourceLinkPlugin
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ExternalResourceBrokenLinkException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
Copyright © 2012. All Rights Reserved.