Interface MvnRepoJarFile
- All Superinterfaces:
FileResource, InputResource, IOResource, JarFile, Resource, ZipFile
- All Known Subinterfaces:
MvnRepoLibraryJarFile
- All Known Implementing Classes:
DefaultMvnRepoJarFile, DefaultMvnRepoLibraryJarFile
A
JarFile that is obtained from a maven repository.-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends JarFile>
Tof(ResourceType<T> fileType, String coordinates, Path path) Creates a new maven repository jar file resource from the given values.The Maven repository resource reference for this jar file.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
-
reference
The Maven repository resource reference for this jar file.- Returns:
- the mvn repo resource
-
of
Creates a new maven repository jar file resource from the given values.- Type Parameters:
T- the resource type- Parameters:
fileType- the requested typecoordinates- the coordinatespath- the path- Returns:
- the maven repository jar file
-