| Modifier and Type | Method and Description | 
|---|---|
| static boolean | isZstdCompressionAvailable()Are the classes required to support Zstandard compression available? | 
| static boolean | matches(byte[] signature,
       int length)Checks if the signature matches what is expected for a Zstandard file. | 
| static void | setCacheZstdAvailablity(boolean doCache)Whether to cache the result of the Zstandard for Java check. | 
public static boolean isZstdCompressionAvailable()
public static void setCacheZstdAvailablity(boolean doCache)
This defaults to false in an OSGi environment and true otherwise.
doCache - whether to cache the resultpublic static boolean matches(byte[] signature, int length)
signature - the bytes to checklength - the number of bytes to checkCopyright © 2018 The Apache Software Foundation. All rights reserved.