Interface LibraryJarFile
- All Superinterfaces:
ClasspathElement, FileResource, IOResource, JarFile, Resource
- All Known Subinterfaces:
AppJarFile, MvnRepoLibraryJarFile
- All Known Implementing Classes:
DefaultLibraryJarFile
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 the classpath.Methods inherited from interface FileResource
cleanup, pathMethods inherited from interface IOResource
inputStream, outputStreamMethods inherited from interface Resource
asOf, asOfLocalized, isNewerThan, name, type
-
Method Details
-
toPath
Description copied from interface:ClasspathElementReturn the representation of the element as it must appear on the classpath.- Specified by:
toPathin interfaceClasspathElement- Returns:
- the path
-
of
Creates a library jar file from the given path.- Parameters:
path- the path- Returns:
- the library jar file
-