Package gw.fs.jar
Class JarEntryFileImpl
- java.lang.Object
-
- gw.fs.jar.JarEntryResourceImpl
-
- gw.fs.jar.JarEntryFileImpl
-
public class JarEntryFileImpl extends JarEntryResourceImpl implements IFile
-
-
Field Summary
-
Fields inherited from class gw.fs.jar.JarEntryResourceImpl
_entry, _jarFile, _name, _parent
-
Fields inherited from interface gw.fs.IFile
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description JarEntryFileImpl(java.lang.String name, IJarFileDirectory parent, JarFileDirectoryImpl jarFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreate()java.lang.StringgetBaseName()java.lang.StringgetExtension()booleanisInJar()java.io.InputStreamopenInputStream()java.io.OutputStreamopenOutputStream()java.io.OutputStreamopenOutputStreamForAppend()-
Methods inherited from class gw.fs.jar.JarEntryResourceImpl
delete, equals, exists, getName, getParent, getPath, isChildOf, isDescendantOf, isJavaFile, setEntry, setExists, toJavaFile, toString, toURI
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.fs.IResource
delete, exists, getName, getParent, getPath, isChildOf, isDescendantOf, isJavaFile, toJavaFile, toURI
-
-
-
-
Constructor Detail
-
JarEntryFileImpl
public JarEntryFileImpl(java.lang.String name, IJarFileDirectory parent, JarFileDirectoryImpl jarFile)
-
-
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
-
isInJar
public boolean isInJar()
- Specified by:
isInJarin interfaceIResource- Overrides:
isInJarin classJarEntryResourceImpl
-
create
public boolean create()
- Specified by:
createin interfaceIResource- Overrides:
createin classJarEntryResourceImpl
-
-