org.richfaces.cdk.vfs.zip
Class ZipVFSFile
java.lang.Object
org.richfaces.cdk.vfs.zip.ZipVFSFile
- All Implemented Interfaces:
- VirtualFile
- Direct Known Subclasses:
- ZipVFSRoot
public class ZipVFSFile
- extends Object
- implements VirtualFile
- Author:
- Nick Belaevski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipVFSFile
public ZipVFSFile(ZipFile zipFile,
org.richfaces.cdk.vfs.zip.ZipNode zipNode,
String relativePath)
isFile
public boolean isFile()
- Specified by:
isFile in interface VirtualFile
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory in interface VirtualFile
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream in interface VirtualFile
- Throws:
IOException
getChildren
public Collection<VirtualFile> getChildren()
- Specified by:
getChildren in interface VirtualFile
getChild
public VirtualFile getChild(String path)
- Specified by:
getChild in interface VirtualFile
getChild
public VirtualFile getChild(String path,
boolean chrooted)
- Specified by:
getChild in interface VirtualFile
getName
public String getName()
- Specified by:
getName in interface VirtualFile
getRelativePath
public String getRelativePath()
- Specified by:
getRelativePath in interface VirtualFile
getZipFile
protected ZipFile getZipFile()
getZipNode
protected org.richfaces.cdk.vfs.zip.ZipNode getZipNode()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.