org.crsh.vfs
Class Resource

java.lang.Object
  extended by org.crsh.vfs.Resource

public class Resource
extends Object


Field Summary
private  byte[] content
          .
private  long timestamp
          .
 
Constructor Summary
Resource(byte[] content, long timestamp)
           
Resource(URL url)
           
 
Method Summary
 byte[] getContent()
           
 long getTimestamp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

private final byte[] content
.


timestamp

private long timestamp
.

Constructor Detail

Resource

public Resource(byte[] content,
                long timestamp)

Resource

public Resource(URL url)
         throws IOException
Throws:
IOException
Method Detail

getContent

public byte[] getContent()

getTimestamp

public long getTimestamp()


Copyright © 2014 eXo Platform SAS. All Rights Reserved.