public class ResourceEntry
extends java.lang.Object
implements java.io.Serializable
构造器和说明 |
---|
ResourceEntry(ResourceEntry parent,
java.lang.String path) |
ResourceEntry(java.lang.String path) |
限定符和类型 | 方法和说明 |
---|---|
ResourceEntry[] |
getChildren() |
long |
getLastModified() |
long |
getLength() |
java.lang.String |
getName() |
ResourceEntry |
getParent() |
java.lang.String |
getPath() |
boolean |
isDirectory() |
boolean |
isExists() |
ResourceEntry |
newChildInstance(java.lang.String path)
创建一个子entry实例
|
boolean |
refresh(java.lang.String path) |
void |
setChildren(ResourceEntry[] children) |
void |
setDirectory(boolean directory) |
void |
setExists(boolean exists) |
void |
setLastModified(long lastModified) |
void |
setLength(long length) |
void |
setName(java.lang.String name) |
public ResourceEntry(java.lang.String path)
public ResourceEntry(ResourceEntry parent, java.lang.String path)
public boolean refresh(java.lang.String path)
public ResourceEntry newChildInstance(java.lang.String path)
path
- public ResourceEntry getParent()
public ResourceEntry[] getChildren()
public void setChildren(ResourceEntry[] children)
public java.lang.String getPath()
public java.lang.String getName()
public void setName(java.lang.String name)
public boolean isExists()
public void setExists(boolean exists)
public boolean isDirectory()
public void setDirectory(boolean directory)
public long getLastModified()
public void setLastModified(long lastModified)
public long getLength()
public void setLength(long length)