org.apache.bcel.util

Interface ClassPath.ClassFile

public static interface ClassPath.ClassFile

Contains information about file/ZIP entry of the Java class.

Method Summary

abstract String
getBase()
abstract InputStream
getInputStream()
abstract String
getPath()
abstract long
getSize()
abstract long
getTime()

Method Details

getBase

public abstract String getBase()
Returns:
base path of found class, i.e. class is contained relative to that path, which may either denote a directory, or zip file

getInputStream

public abstract InputStream getInputStream()
            throws IOException
Returns:
input stream for class file.

getPath

public abstract String getPath()
Returns:
canonical path to class file.

getSize

public abstract long getSize()
Returns:
size of class file.

getTime

public abstract long getTime()
Returns:
modification time of class file.