Package gw.internal.gosu.module.fs
Class PathDirectoryImpl
- java.lang.Object
-
- gw.internal.gosu.module.fs.PathResourceImpl
-
- gw.internal.gosu.module.fs.PathDirectoryImpl
-
- All Implemented Interfaces:
IDirectory,IResource,Serializable
public class PathDirectoryImpl extends PathResourceImpl implements IDirectory
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearCaches()IDirectorydir(String relativePath)booleanexists()IFilefile(String path)booleanhasChildFile(String path)booleanisAdditional()List<? extends IDirectory>listDirs()List<? extends IFile>listFiles()booleanmkdir()StringrelativePath(IResource resource)-
Methods inherited from class gw.internal.gosu.module.fs.PathResourceImpl
create, delete, equals, getName, getParent, getPath, hashCode, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toString, toURI
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.fs.IResource
create, delete, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURI
-
-
-
-
Method Detail
-
dir
public IDirectory dir(String relativePath)
- Specified by:
dirin interfaceIDirectory
-
file
public IFile file(String path)
- Specified by:
filein interfaceIDirectory
-
mkdir
public boolean mkdir() throws IOException- Specified by:
mkdirin interfaceIDirectory- Throws:
IOException
-
listDirs
public List<? extends IDirectory> listDirs()
- Specified by:
listDirsin interfaceIDirectory
-
listFiles
public List<? extends IFile> listFiles()
- Specified by:
listFilesin interfaceIDirectory
-
relativePath
public String relativePath(IResource resource)
- Specified by:
relativePathin interfaceIDirectory
-
clearCaches
public void clearCaches()
- Specified by:
clearCachesin interfaceIDirectory
-
hasChildFile
public boolean hasChildFile(String path)
- Specified by:
hasChildFilein interfaceIDirectory
-
isAdditional
public boolean isAdditional()
- Specified by:
isAdditionalin interfaceIDirectory
-
-