org.granite.scan
Interface ScannedItem

All Known Implementing Classes:
AbstractScannedItem, FileScannedItem, VFS3FileScannedItem, VFSFileScannedItem, ZipScannedItem

public interface ScannedItem

Author:
Franck WOLFF

Method Summary
 String getAbsolutePath()
           
 String getClassName()
           
 byte[] getContent()
           
 String getExtension()
           
 InputStream getInputStream()
           
 ScannedItem getMarker()
           
 String getName()
           
 String getRelativePath()
           
 Scanner getScanner()
           
 long getSize()
           
 Class<?> loadAsClass()
           
 Properties loadAsProperties()
           
 

Method Detail

getScanner

Scanner getScanner()

getMarker

ScannedItem getMarker()

getName

String getName()

getExtension

String getExtension()

getRelativePath

String getRelativePath()

getAbsolutePath

String getAbsolutePath()

getClassName

String getClassName()

getSize

long getSize()

getInputStream

InputStream getInputStream()
                           throws IOException
Throws:
IOException

getContent

byte[] getContent()
                  throws IOException
Throws:
IOException

loadAsProperties

Properties loadAsProperties()
                            throws IOException,
                                   IllegalArgumentException
Throws:
IOException
IllegalArgumentException

loadAsClass

Class<?> loadAsClass()
                     throws ClassNotFoundException,
                            IOException,
                            ClassFormatError
Throws:
ClassNotFoundException
IOException
ClassFormatError