Interface ClasspathElement

All Superinterfaces:
Resource
All Known Subinterfaces:
AppJarFile, ClassTree, JavaResourceTree, LibraryJarFile, MvnRepoLibraryJarFile
All Known Implementing Classes:
DefaultClassTree, DefaultJavaResourceTree, DefaultLibraryJarFile

public interface ClasspathElement extends Resource
Common base interface for resources that can be used in a classpath.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the representation of the element as it must appear on the classpath.

    Methods inherited from interface Resource

    asOf, asOfLocalized, name, type
  • Method Details

    • toPath

      Return the representation of the element as it must appear on the classpath.
      Returns:
      the path