Interface LibraryJarFile

All Superinterfaces:
ClasspathElement, FileResource, IOResource, JarFile, Resource
All Known Subinterfaces:
AppJarFile, MvnRepoLibraryJarFile
All Known Implementing Classes:
DefaultLibraryJarFile

public interface LibraryJarFile extends JarFile, ClasspathElement
Marker interface for a jar file that is a library.
  • Method Details

    • toPath

      default Path toPath()
      Description copied from interface: ClasspathElement
      Return the representation of the element as it must appear on the classpath.
      Specified by:
      toPath in interface ClasspathElement
      Returns:
      the path
    • of

      static LibraryJarFile of(Path path)
      Creates a library jar file from the given path.
      Parameters:
      path - the path
      Returns:
      the library jar file