public abstract class PathResourceImpl extends Object implements IResource, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
create() |
boolean |
delete() |
boolean |
equals(Object obj) |
String |
getName() |
IDirectory |
getParent() |
ResourcePath |
getPath() |
int |
hashCode() |
boolean |
isChildOf(IDirectory dir) |
boolean |
isDescendantOf(IDirectory dir) |
boolean |
isInJar() |
boolean |
isJavaFile() |
File |
toJavaFile() |
String |
toString() |
URI |
toURI() |
public IDirectory getParent()
public boolean delete()
throws IOException
delete in interface IResourceIOExceptionpublic ResourcePath getPath()
public boolean isChildOf(IDirectory dir)
public boolean isDescendantOf(IDirectory dir)
isDescendantOf in interface IResourcepublic File toJavaFile()
toJavaFile in interface IResourcepublic boolean isJavaFile()
isJavaFile in interface IResourceCopyright © 2019. All rights reserved.