Package manifold.api.fs.jar
Class JarEntryFileImpl
- java.lang.Object
-
- manifold.api.fs.jar.JarEntryResourceImpl
-
- manifold.api.fs.jar.JarEntryFileImpl
-
public class JarEntryFileImpl extends JarEntryResourceImpl implements IFile
-
-
Field Summary
-
Fields inherited from class manifold.api.fs.jar.JarEntryResourceImpl
_name, _parent
-
Fields inherited from interface manifold.api.fs.IFile
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description JarEntryFileImpl(IFileSystem fs, String name, IJarFileDirectory parent, JarFileDirectoryImpl jarFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreate()StringgetBaseName()StringgetExtension()booleanisInJar()InputStreamopenInputStream()OutputStreamopenOutputStream()OutputStreamopenOutputStreamForAppend()-
Methods inherited from class manifold.api.fs.jar.JarEntryResourceImpl
delete, equals, exists, getFileSystem, getName, getParent, getPath, isChildOf, isDescendantOf, isJavaFile, setEntry, toJavaFile, toString, toURI
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface manifold.api.fs.IFile
getPhysicalFile
-
Methods inherited from interface manifold.api.fs.IResource
delete, exists, getFileSystem, getName, getParent, getPath, isChildOf, isDescendantOf, isJavaFile, toJavaFile, toURI
-
-
-
-
Constructor Detail
-
JarEntryFileImpl
public JarEntryFileImpl(IFileSystem fs, String name, IJarFileDirectory parent, JarFileDirectoryImpl jarFile)
-
-
Method Detail
-
openInputStream
public InputStream openInputStream() throws IOException
- Specified by:
openInputStreamin interfaceIFile- Throws:
IOException
-
openOutputStream
public OutputStream openOutputStream()
- Specified by:
openOutputStreamin interfaceIFile
-
openOutputStreamForAppend
public OutputStream openOutputStreamForAppend()
- Specified by:
openOutputStreamForAppendin interfaceIFile
-
getExtension
public String getExtension()
- Specified by:
getExtensionin interfaceIFile
-
getBaseName
public 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
-
-