Interface JarFile
- All Superinterfaces:
FileResource, InputResource, IOResource, Resource, ZipFile
- All Known Subinterfaces:
AppJarFile, JavadocJarFile, LibraryJarFile, MvnRepoJarFile, MvnRepoLibraryJarFile, SourcesJarFile
- All Known Implementing Classes:
DefaultJarFile, DefaultLibraryJarFile
A
FileResource that represents a Java jar file].-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T extends JarFile>
Tof(ResourceType<T> jarType, Path path) Creates a jar file resource from the given values.Methods 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
-
of
Creates a jar file resource from the given values.- Type Parameters:
T- the generic type- Parameters:
jarType- the jar typepath- the path- Returns:
- the t
-