Package generic.jar
Class JarEntryNode
- java.lang.Object
-
- generic.jar.JarEntryNode
-
- Direct Known Subclasses:
JarEntryRootNode
public class JarEntryNode extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JarEntryNode>
getChildren()
java.io.InputStream
getInputStream()
protected java.util.jar.JarFile
getJarFile()
java.lang.String
getName()
JarEntryNode
getNode(java.lang.String childName)
JarEntryNode
getNode(java.lang.String[] path)
JarEntryNode
getParent()
boolean
isDirectory()
boolean
isFile()
long
lastModified()
long
length()
-
-
-
Method Detail
-
getNode
public JarEntryNode getNode(java.lang.String childName)
-
getChildren
public java.util.List<JarEntryNode> getChildren()
-
getName
public java.lang.String getName()
-
isDirectory
public boolean isDirectory()
-
isFile
public boolean isFile()
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Throws:
java.io.IOException
-
getJarFile
protected java.util.jar.JarFile getJarFile()
-
getParent
public JarEntryNode getParent()
-
lastModified
public long lastModified()
-
getNode
public JarEntryNode getNode(java.lang.String[] path)
-
length
public long length()
-
-