Interface LibraryJarFile

All Superinterfaces:
CodeContribution, FileResource, InputResource, IOResource, JarFile, Resource, ZipFile
All Known Subinterfaces:
AppJarFile, MvnRepoLibraryJarFile
All Known Implementing Classes:
DefaultLibraryJarFile, DefaultMvnRepoLibraryJarFile

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

    • toPath

      default Path toPath()
      Description copied from interface: CodeContribution
      Return the representation of the element as it must appear on a classpath or module-path.
      Specified by:
      toPath in interface CodeContribution
      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