org.reflections.vfs
Class ZipFile

java.lang.Object
  extended by org.reflections.vfs.ZipFile
All Implemented Interfaces:
Vfs.File

public class ZipFile
extends Object
implements Vfs.File

an implementation of Vfs.File for ZipEntry


Constructor Summary
ZipFile(ZipDir root, ZipEntry entry)
           
 
Method Summary
 String getName()
           
 String getRelativePath()
           
 InputStream openInputStream()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZipFile

public ZipFile(ZipDir root,
               ZipEntry entry)
Method Detail

getName

public String getName()
Specified by:
getName in interface Vfs.File

getRelativePath

public String getRelativePath()
Specified by:
getRelativePath in interface Vfs.File

openInputStream

public InputStream openInputStream()
                            throws IOException
Specified by:
openInputStream in interface Vfs.File
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.