org.crsh.vfs
Class Resource
java.lang.Object
org.crsh.vfs.Resource
public class Resource
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
private final byte[] content
- .
timestamp
private long timestamp
- .
Resource
public Resource(byte[] content,
long timestamp)
Resource
public Resource(URL url)
throws IOException
- Throws:
IOException
getContent
public byte[] getContent()
getTimestamp
public long getTimestamp()
Copyright © 2014 eXo Platform SAS. All Rights Reserved.