Errai 3.0.1-SNAPSHOT

org.jboss.errai.reflections.vfs
Class ZipFile

java.lang.Object
  extended by org.jboss.errai.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 dir, ZipEntry entry)
           
 
Method Summary
 String getFullPath()
           
 String getName()
           
 String getPath()
           
 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 dir,
               ZipEntry entry)
Method Detail

getFullPath

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

getName

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

getPath

public String getPath()

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

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.