Enum CheckLibrary

    • Enum Constant Detail

      • BOUNCY_CASTLE

        public static final CheckLibrary BOUNCY_CASTLE
        加解密BC依赖
      • SPRING_WEB

        public static final CheckLibrary SPRING_WEB
        Spring_Web依赖
      • SPRING_CORE

        public static final CheckLibrary SPRING_CORE
        Sping_Core核心依赖
      • SPRING_REDIS

        public static final CheckLibrary SPRING_REDIS
        Spring_Redis依赖
      • XSTREAM

        public static final CheckLibrary XSTREAM
        XML解析依赖
      • ZIP_LZ4

        public static final CheckLibrary ZIP_LZ4
        压缩算法_LZ4
      • ZIP_SNAPPY

        public static final CheckLibrary ZIP_SNAPPY
        压缩算法_Snappy
      • ZIP_BROTLI

        public static final CheckLibrary ZIP_BROTLI
        压缩算法_BROTLI
      • QRCODE

        public static final CheckLibrary QRCODE
        二维码依赖
      • FASTJSON

        public static final CheckLibrary FASTJSON
        FastJson依赖
      • FASTJSON2

        public static final CheckLibrary FASTJSON2
        FastJson2依赖
      • JACKSON

        public static final CheckLibrary JACKSON
        Jackson依赖
      • IP2REGION

        public static final CheckLibrary IP2REGION
        IP地址依赖
      • APACHE_NET

        public static final CheckLibrary APACHE_NET
        用于检测FTP NET包
      • THREAD_AFFINITY

        public static final CheckLibrary THREAD_AFFINITY
        线程绑定依赖
    • Method Detail

      • values

        public static CheckLibrary[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CheckLibrary c : CheckLibrary.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CheckLibrary valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getLibraryName

        public String getLibraryName()
        获取依赖库名
        Returns:
        String
      • getLoadClassName

        public String getLoadClassName()
        获取加载类名
        Returns:
        String
      • getLoadVersion

        public String getLoadVersion()
        获取加载版本
        Returns:
        String
      • load

        public Class<?> load()
        加载依赖库
        Returns:
        Class 加载类
        Throws:
        NotFoundException - 如果不存在某第三方库抛出此异常
      • load

        public static Class<?> load​(String loadClassName)
        加载依赖库
        Parameters:
        loadClassName - 加载全限定名
        Returns:
        Class 加载类
        Throws:
        NotFoundException - 如果不存在某第三方库抛出此异常