Class Zstd

  • public final class Zstd
    extends Object
    • Method Detail

      • isAvailable

        public static boolean isAvailable()
        true when zstd-jni is in the classpath and native library is available on this platform and could be loaded
      • ensureAvailability

        public static void ensureAvailability()
                                       throws Throwable
        Throws when zstd support is missing from the classpath or is unavailable on this platform
        Throwable - a ClassNotFoundException if zstd-jni is missing or a ExceptionInInitializerError if zstd native lib can't be loaded