Class CommonsCompressRuntime


  • @Internal
    @Contract(threading=STATELESS)
    final class CommonsCompressRuntime
    extends java.lang.Object
    Lightweight guard that checks whether the Commons Compress factory class is loadable with the current class loader.

    Used by the codec registry to decide if reflective wiring of optional codecs should even be attempted.

    Since:
    5.6
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String CCSF  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CommonsCompressRuntime()
      Non-instantiable.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static boolean available()
      Returns true if the core Commons Compress class can be loaded with the current class-loader, false otherwise.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommonsCompressRuntime

        private CommonsCompressRuntime()
        Non-instantiable.
    • Method Detail

      • available

        static boolean available()
        Returns true if the core Commons Compress class can be loaded with the current class-loader, false otherwise.