org.crsh.vfs
Class Resource

java.lang.Object
  extended by 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.
 
Constructor Summary
Resource(String content, long timestamp)
           
Resource(String content, long timestamp, URL url)
           
 
Method Summary
 String getContent()
           
 long getTimestamp()
           
 URL getURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

Resource

public Resource(String content,
                long timestamp)

Resource

public Resource(String content,
                long timestamp,
                URL url)
Method Detail

getContent

public String getContent()

getTimestamp

public long getTimestamp()

getURL

public URL getURL()


Copyright © 2012 eXo Platform SAS. All Rights Reserved.