org.crsh.vfs
Class Resource
java.lang.Object
org.crsh.vfs.Resource
public class Resource
- extends Object
- Version:
- $Revision$
- Author:
- Julien Viet
Field Summary |
private String |
content
. |
private long |
timestamp
. |
private URL |
url
URL is optional, when it has one it indicates the URL of the resource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
private final String content
- .
timestamp
private long timestamp
- .
url
private final URL url
- URL is optional, when it has one it indicates the URL of the resource.
Resource
public Resource(String content,
long timestamp)
Resource
public Resource(String content,
long timestamp,
URL url)
getContent
public String getContent()
getTimestamp
public long getTimestamp()
getURL
public URL getURL()
Copyright © 2012 eXo Platform SAS. All Rights Reserved.