org.granite.scan
Class VFS3FileScannedItem

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

public class VFS3FileScannedItem
extends AbstractScannedItem

Author:
Franck WOLFF

Constructor Summary
VFS3FileScannedItem(Scanner scanner, VFS3FileScannedItem marker, org.jboss.vfs.VirtualFile root, org.jboss.vfs.VirtualFile file)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAbsolutePath()
           
 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

VFS3FileScannedItem

public VFS3FileScannedItem(Scanner scanner,
                           VFS3FileScannedItem marker,
                           org.jboss.vfs.VirtualFile root,
                           org.jboss.vfs.VirtualFile file)
Method Detail

getSize

public long getSize()

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

getName

public String getName()

getAbsolutePath

public String getAbsolutePath()

getRelativePath

public String getRelativePath()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object