org.granite.scan
Interface ScannedItem
- All Known Implementing Classes:
- AbstractScannedItem, FileScannedItem, VFS3FileScannedItem, VFSFileScannedItem, ZipScannedItem
public interface ScannedItem
- Author:
- Franck WOLFF
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