Documentation of 'org.apache.commons.compress.compressors.brotli.BrotliUtils' Java class
BrotliUtils
org.apache.commons.compress.compressors.brotli

Class BrotliUtils



  • public class BrotliUtils
    extends java.lang.Object
    Utility code for the Brotli compression format.
    Since:
    1.14
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static boolean isBrotliCompressionAvailable()
      Are the classes required to support Brotli compression available?
      static void setCacheBrotliAvailablity(boolean doCache)
      Whether to cache the result of the Brotli for Java check.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isBrotliCompressionAvailable

        public static boolean isBrotliCompressionAvailable()
        Are the classes required to support Brotli compression available?
        Returns:
        true if the classes required to support Brotli compression are available
      • setCacheBrotliAvailablity

        public static void setCacheBrotliAvailablity(boolean doCache)
        Whether to cache the result of the Brotli for Java check.

        This defaults to false in an OSGi environment and true otherwise.

        Parameters:
        doCache - whether to cache the result

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.