org.richfaces.cdk.vfs.zip
Class ZipVFSRoot
java.lang.Object
org.richfaces.cdk.vfs.zip.ZipVFSFile
org.richfaces.cdk.vfs.zip.ZipVFSRoot
- All Implemented Interfaces:
- Closeable, VFSRoot, VirtualFile
public class ZipVFSRoot
- extends ZipVFSFile
- implements VFSRoot
- Author:
- Nick Belaevski
ZipVFSRoot
public ZipVFSRoot(File file)
throws IOException
- Throws:
IOException
initialize
public void initialize()
throws IOException
- Specified by:
initialize in interface VFSRoot
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable
- Throws:
IOException
getType
public VFSType getType()
- Specified by:
getType in interface VFSRoot
toURL
public URL toURL()
throws MalformedURLException
- Specified by:
toURL in interface VFSRoot
- Throws:
MalformedURLException
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream in interface VirtualFile- Overrides:
getInputStream in class ZipVFSFile
- Throws:
IOException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.