Package gw.fs
Interface IFile
-
- All Superinterfaces:
IResource
- All Known Implementing Classes:
JarEntryFileImpl
,JavaFileImpl
,PathFileImpl
,PhysicalFileImpl
,URLFileImpl
public interface IFile extends IResource
-
-
Field Summary
Fields Modifier and Type Field Description static IFile[]
EMPTY_ARRAY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBaseName()
String
getExtension()
InputStream
openInputStream()
OutputStream
openOutputStream()
OutputStream
openOutputStreamForAppend()
-
Methods inherited from interface gw.fs.IResource
create, delete, exists, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURI
-
-
-
-
Field Detail
-
EMPTY_ARRAY
static final IFile[] EMPTY_ARRAY
-
-
Method Detail
-
openInputStream
InputStream openInputStream() throws IOException
- Throws:
IOException
-
openOutputStream
OutputStream openOutputStream() throws IOException
- Throws:
IOException
-
openOutputStreamForAppend
OutputStream openOutputStreamForAppend() throws IOException
- Throws:
IOException
-
getExtension
String getExtension()
-
getBaseName
String getBaseName()
-
-