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

Field Detail

name

private final String name
.


content

private final byte[] content
.


timestamp

private long timestamp
.

Constructor Detail

Resource

public Resource(String name,
                byte[] content,
                long timestamp)

Resource

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

getName

public String getName()

getContent

public byte[] getContent()

getTimestamp

public long getTimestamp()


Copyright © 2015 eXo Platform SAS. All Rights Reserved.