Interface JarFile
- All Superinterfaces:
FileResource, IOResource, Resource
- 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 IOResource
inputStream, 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
-