Interface ClassPath.ClassFile

  • Enclosing class:
    ClassPath

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getBase()
      Gets the base path of found class.
      java.io.InputStream getInputStream()
      Gets the input stream for class file.
      java.lang.String getPath()
      Gets the canonical path to class file.
      long getSize()
      Gets the size of class file.
      long getTime()
      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.IOException
        Gets 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.