org.apache.bcel.util

## 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 and Description
    --- | ---
    `String` | `getBase()`
    `InputStream` | `getInputStream()`
    `String` | `getPath()`
    `long` | `getSize()`
    `long` | `getTime()`

- - ### Method Detail

    - #### getBase

          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

          InputStream getInputStream()
                              throws IOException

      Returns:
        input stream for class file.
      Throws:
        `IOException` - if an I/O error occurs.

    - #### getPath

          String getPath()

      Returns:
        canonical path to class file.

    - #### getSize

          long getSize()

      Returns:
        size of class file.

    - #### getTime

          long getTime()

      Returns:
        modification time of class file.

Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.