Interface ClassPath.ClassFile

Enclosing class:
ClassPath

public static interface ClassPath.ClassFile
Contains information about file/ZIP entry of the Java class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the base path of found class.
    Gets the input stream for class file.
    Gets the canonical path to class file.
    long
    Gets the size of class file.
    long
    Gets the modification time of class file.
  • Method Details

    • getBase

      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

      InputStream getInputStream() throws IOException
      Gets the input stream for class file.
      Returns:
      input stream for class file.
      Throws:
      IOException - Thrown if an I/O error occurs.
    • getPath

      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.