Class JarVersionLookupHandler


  • public class JarVersionLookupHandler
    extends java.lang.Object
    Finds Version data from a package, with possible default values
    • Constructor Detail

      • JarVersionLookupHandler

        public JarVersionLookupHandler()
    • Method Detail

      • getImplementationVersion

        public static java.util.Optional<java.lang.String> getImplementationVersion​(java.lang.String pkgName)
      • getSpecificationVersion

        public static java.util.Optional<java.lang.String> getSpecificationVersion​(java.lang.String pkgName)
      • getImplementationVersion

        public static java.util.Optional<java.lang.String> getImplementationVersion​(java.lang.Class<?> clazz)
      • getImplementationTitle

        public static java.util.Optional<java.lang.String> getImplementationTitle​(java.lang.Class<?> clazz)
      • getSpecificationVersion

        public static java.util.Optional<java.lang.String> getSpecificationVersion​(java.lang.Class<?> clazz)