public final class Zstd
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static java.lang.Throwable |
cause()
Returns
Throwable of unavailability cause |
static void |
ensureAvailability()
Throws when zstd support is missing from the classpath or is unavailable on this platform
|
static boolean |
isAvailable() |
public static boolean isAvailable()
public static void ensureAvailability() throws java.lang.Throwable
java.lang.Throwable
- a ClassNotFoundException if zstd-jni is missing
or a ExceptionInInitializerError if zstd native lib can't be loadedpublic static java.lang.Throwable cause()
Throwable
of unavailability cause