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 |
name
private final String name
- .
content
private final byte[] content
- .
timestamp
private long timestamp
- .
Resource
public Resource(String name,
byte[] content,
long timestamp)
Resource
public Resource(String name,
URL url)
throws IOException
- Throws:
IOException
getName
public String getName()
getContent
public byte[] getContent()
getTimestamp
public long getTimestamp()
Copyright © 2015 eXo Platform SAS. All Rights Reserved.