org.apache.bcel.util
Interface ClassPath.ClassFile

Enclosing interface:
ClassPath

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 Detail

getInputStream

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

getPath

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

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

getTime

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

getSize

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


Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.