public class StoreResource
extends org.springframework.core.io.AbstractResource
| Constructor and Description |
|---|
StoreResource(org.springframework.extensions.webscripts.Store store,
String path)
Constructs a new store resource
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource |
createRelative(String relativePath) |
boolean |
equals(Object obj) |
String |
getDescription() |
String |
getFilename() |
InputStream |
getInputStream() |
String |
getPath()
Return the path for this resource.
|
org.springframework.extensions.webscripts.Store |
getStore()
Return the Store for this resource.
|
int |
hashCode() |
public StoreResource(org.springframework.extensions.webscripts.Store store,
String path)
store - The store within which the resource livespath - Path to the resourcepublic final org.springframework.extensions.webscripts.Store getStore()
public final String getPath()
public InputStream getInputStream() throws IOException
IOExceptionpublic String getFilename()
getFilename in interface org.springframework.core.io.ResourcegetFilename in class org.springframework.core.io.AbstractResourcepublic String getDescription()
public boolean equals(Object obj)
equals in class org.springframework.core.io.AbstractResourcepublic int hashCode()
hashCode in class org.springframework.core.io.AbstractResourcepublic org.springframework.core.io.Resource createRelative(String relativePath) throws IOException
createRelative in interface org.springframework.core.io.ResourcecreateRelative in class org.springframework.core.io.AbstractResourceIOExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.