Constructor and Description |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent()
Get resource content.
|
long |
getLastModified()
Get last modified date for resource.
|
java.lang.String |
getPath()
Get unique resource path.
|
ResourceType |
getResourceType()
Get type of resource.
|
void |
setContent(byte[] content) |
void |
setLastModified(long lastModified) |
void |
setPath(java.lang.String path) |
void |
setResourceType(ResourceType resourceType) |
public java.lang.String getPath()
IResource
public void setPath(java.lang.String path)
public ResourceType getResourceType()
IResource
getResourceType
in interface IResource
public void setResourceType(ResourceType resourceType)
public byte[] getContent()
IResource
getContent
in interface IResource
public void setContent(byte[] content)
public long getLastModified()
IResource
getLastModified
in interface IResource
public void setLastModified(long lastModified)