org.granite.scan
Class ZipScannedItem

java.lang.Object
  extended by org.granite.scan.AbstractScannedItem
      extended by org.granite.scan.ZipScannedItem
All Implemented Interfaces:
ScannedItem

public class ZipScannedItem
extends AbstractScannedItem

Author:
Franck WOLFF

Constructor Summary
ZipScannedItem(Scanner scanner, ZipScannedItem marker, ZipFile file, ZipEntry entry)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAbsolutePath()
           
 ZipEntry getEntry()
           
 ZipFile getFile()
           
 InputStream getInputStream()
           
 String getName()
           
 String getRelativePath()
           
 long getSize()
           
 int hashCode()
           
 
Methods inherited from class org.granite.scan.AbstractScannedItem
getClassName, getContent, getExtension, getMarker, getScanner, loadAsClass, loadAsProperties, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZipScannedItem

public ZipScannedItem(Scanner scanner,
                      ZipScannedItem marker,
                      ZipFile file,
                      ZipEntry entry)
Method Detail

getFile

public ZipFile getFile()

getEntry

public ZipEntry getEntry()

getName

public String getName()

getRelativePath

public String getRelativePath()

getAbsolutePath

public String getAbsolutePath()

getSize

public long getSize()

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object