Uses of Class
com.norconex.commons.lang.jar.JarFile
Packages that use JarFile
Package
Description
Utility classes related to jar file duplicate and version conflict
detection and resolution.
-
Uses of JarFile in com.norconex.commons.lang.jar
Methods in com.norconex.commons.lang.jar that return JarFileModifier and TypeMethodDescriptionJarDuplicates.getGreatest()Gets the duplicate jar file that is considered the greatest based on its version and last modified date (in case of equivalent versions).JarDuplicates.getLatestVersion()Deprecated.Methods in com.norconex.commons.lang.jar that return types with arguments of type JarFileModifier and TypeMethodDescriptionJarDuplicateFinder.findJarDuplicatesOf(@NonNull File jarFile, @NonNull List<File> paths) Finds duplicates of a specific jar file, without returning that jar itself.Gets theJarFilecorresponding to the supplied file by comparing their paths.JarDuplicates.getAllButGreatest()Gets all jar files of this duplicate batch except for the one considered the greatest, as perJarDuplicates.getGreatest().JarDuplicates.getJarFiles()Gets the jar files being considered duplicates of each other.JarFile.toJarFiles(File... jarPaths) Returns the supplied paths as a list ofJarFile.JarFile.toJarFiles(Path... jarPaths) Returns the supplied paths as a list ofJarFile.JarFile.toJarFiles(Collection<Path> jarPaths) Returns the supplied paths as a list ofJarFile.Methods in com.norconex.commons.lang.jar with parameters of type JarFileModifier and TypeMethodDescriptionintvoidJarCopier.copyJarFile(@NonNull JarFile sourceJarFile, @NonNull File targetDirectory) Copies a single Jar to a target directory, taking into consideration Jar versions.booleanJarFile.isDuplicateOf(JarFile jarFile) Gets whether a jar file is considered a duplicate of this one.booleanJarFile.isEquivalentTo(JarFile other) Gets whether this jar file is equivalent to the other if they both have the same semantic version and last modified date.booleanJarFile.isGreaterOrEquivalentTo(JarFile other) Gets whether this jar file is greater or equivalent to the other, by comparing semantic versions and last modified dates.booleanJarFile.isGreaterThan(JarFile other) Gets whether this jar file is greater than the other, by comparing semantic versions and last modified dates.booleanJarFile.isLowerOrEquivalentTo(JarFile other) Gets whether this jar file is lower or equivalent to the other.booleanJarFile.isLowerThan(JarFile other) Gets whether this jar file lower than the other, by comparing semantic versions and last modified dates.booleanJarFile.isSameVersion(JarFile jarFile) Deprecated.UseisEquivalentTo(JarFile)instead.booleanJarFile.isSameVersionAndTime(JarFile jarFile) Deprecated.UseisEquivalentTo(JarFile)instead.booleanJarFile.isVersionGreaterThan(JarFile file) Constructors in com.norconex.commons.lang.jar with parameters of type JarFileModifierConstructorDescriptionJarDuplicates(@NonNull JarFile... jarFiles) Creates a group of 2 or moreJarFileduplicates.Constructor parameters in com.norconex.commons.lang.jar with type arguments of type JarFileModifierConstructorDescriptionJarDuplicates(@NonNull Collection<JarFile> jarFiles) Creates a group of 2 or moreJarFileduplicates.
JarDuplicates.getGreatest()instead.