org.apache.bcel.util

Interface ClassPath.ClassFile

public static interface ClassPath.ClassFile

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

Method Summary

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

Method Details

getBase

public 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 InputStream getInputStream()
            throws IOException

Returns:
input stream for class file.


getPath

public String getPath()

Returns:
canonical path to class file.


getSize

public long getSize()

Returns:
size of class file.


getTime

public long getTime()

Returns:
modification time of class file.