Package gw.internal.gosu.module.fs
Class PathFileImpl
- java.lang.Object
-
- gw.internal.gosu.module.fs.PathResourceImpl
-
- gw.internal.gosu.module.fs.PathFileImpl
-
public class PathFileImpl extends PathResourceImpl implements IFile
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface gw.fs.IFile
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description PathFileImpl(java.nio.file.Path path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists()Indicates whether this resource exists.java.lang.StringgetBaseName()java.lang.StringgetExtension()java.io.InputStreamopenInputStream()java.io.OutputStreamopenOutputStream()java.io.OutputStreamopenOutputStreamForAppend()-
Methods inherited from class gw.internal.gosu.module.fs.PathResourceImpl
create, delete, equals, get_Path, 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
-
openInputStream
public java.io.InputStream openInputStream() throws java.io.IOException- Specified by:
openInputStreamin interfaceIFile- Throws:
java.io.IOException
-
openOutputStream
public java.io.OutputStream openOutputStream() throws java.io.IOException- Specified by:
openOutputStreamin interfaceIFile- Throws:
java.io.IOException
-
openOutputStreamForAppend
public java.io.OutputStream openOutputStreamForAppend() throws java.io.IOException- Specified by:
openOutputStreamForAppendin interfaceIFile- Throws:
java.io.IOException
-
getExtension
public java.lang.String getExtension()
- Specified by:
getExtensionin interfaceIFile
-
getBaseName
public java.lang.String getBaseName()
- Specified by:
getBaseNamein interfaceIFile
-
-