org.apache.bcel.util

Interface ClassPath.ClassFile

public interface ClassPath.ClassFile

Contains information about file/ZIP entry of the Java class.
Method Summary
abstract StringgetBase()
abstract InputStreamgetInputStream()
abstract StringgetPath()
abstract longgetSize()
abstract longgetTime()

Method Detail

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()

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.