Interface LibraryJarFile
- All Superinterfaces:
CodeContribution, FileResource, InputResource, IOResource, JarFile, Resource, ZipFile
- All Known Subinterfaces:
AppJarFile, MvnRepoLibraryJarFile
- All Known Implementing Classes:
DefaultLibraryJarFile, DefaultMvnRepoLibraryJarFile
Marker interface for a jar file that is a library.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LibraryJarFileCreates a library jar file from the given path.default PathtoPath()Return the representation of the element as it must appear on a classpath or module-path.Methods inherited from interface CodeContribution
isModular, moduleNameMethods inherited from interface FileResource
cleanup, pathMethods inherited from interface InputResource
inputStreamMethods inherited from interface IOResource
outputStreamMethods inherited from interface Resource
asOf, asOfLocalized, isNewerThan, name, type
-
Method Details
-
toPath
Description copied from interface:CodeContributionReturn the representation of the element as it must appear on a classpath or module-path.- Specified by:
toPathin interfaceCodeContribution- Returns:
- the path
-
of
Creates a library jar file from the given path.- Parameters:
path- the path- Returns:
- the library jar file
-