public abstract class JavaResourceImpl extends Object implements IResource, Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
JavaResourceImpl(File file) |
| 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() |
protected File _file
protected JavaResourceImpl(File file)
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 © 2017. All rights reserved.