public class ZipVFSFile extends Object implements VirtualFile
Constructor and Description |
---|
ZipVFSFile(ZipFile zipFile,
org.richfaces.resource.optimizer.vfs.zip.ZipNode zipNode,
String relativePath) |
Modifier and Type | Method and Description |
---|---|
VirtualFile |
getChild(String path) |
VirtualFile |
getChild(String path,
boolean chrooted) |
Collection<VirtualFile> |
getChildren() |
InputStream |
getInputStream() |
String |
getName() |
String |
getRelativePath() |
protected ZipFile |
getZipFile() |
protected org.richfaces.resource.optimizer.vfs.zip.ZipNode |
getZipNode() |
boolean |
isDirectory() |
boolean |
isFile() |
String |
toString() |
public boolean isFile()
isFile
in interface VirtualFile
public boolean isDirectory()
isDirectory
in interface VirtualFile
public InputStream getInputStream() throws IOException
getInputStream
in interface VirtualFile
IOException
public Collection<VirtualFile> getChildren()
getChildren
in interface VirtualFile
public VirtualFile getChild(String path)
getChild
in interface VirtualFile
public VirtualFile getChild(String path, boolean chrooted)
getChild
in interface VirtualFile
public String getName()
getName
in interface VirtualFile
public String getRelativePath()
getRelativePath
in interface VirtualFile
protected ZipFile getZipFile()
protected org.richfaces.resource.optimizer.vfs.zip.ZipNode getZipNode()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.