public final class Brotli
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static java.lang.Throwable |
cause()
Returns
Throwable of unavailability cause |
static void |
ensureAvailability()
Throws when brotli 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 brotli4j is missing
or a UnsatisfiedLinkError if brotli4j native lib can't be loadedpublic static java.lang.Throwable cause()
Throwable
of unavailability cause