Package org.apache.bcel.util
Interface ClassPath.ClassFile
-
- Enclosing class:
- ClassPath
public static interface ClassPath.ClassFileContains information about file/ZIP entry of the Java class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBase()Gets the base path of found class.java.io.InputStreamgetInputStream()Gets the input stream for class file.java.lang.StringgetPath()Gets the canonical path to class file.longgetSize()Gets the size of class file.longgetTime()Gets the modification time of class file.
-
-
-
Method Detail
-
getBase
java.lang.String getBase()
Gets the base path of found class.- Returns:
- base path of found class, for example class is contained relative to that path, which may either denote a directory, or ZIP file.
-
getInputStream
java.io.InputStream getInputStream() throws java.io.IOExceptionGets the input stream for class file.- Returns:
- input stream for class file.
- Throws:
java.io.IOException- if an I/O error occurs.
-
getPath
java.lang.String getPath()
Gets the canonical path to class file.- Returns:
- canonical path to class file.
-
getSize
long getSize()
Gets the size of class file.- Returns:
- size of class file.
-
getTime
long getTime()
Gets the modification time of class file.- Returns:
- modification time of class file.
-
-