Enum Native

java.lang.Object
java.lang.Enum<Native>
com.github.luben.zstd.util.Native
All Implemented Interfaces:
Serializable, Comparable<Native>

public enum Native extends Enum<Native>
  • Method Details

    • values

      public static Native[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Native valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • assumeLoaded

      public static void assumeLoaded()
      Tell the library to assume the native library is already loaded. This is escape hatch for environments that have special requirements for how the native part is loaded. This allows them to load the so/dll manually and tell zstd-jni to not attempt loading it again.
    • isLoaded

      public static boolean isLoaded()
    • load

      public static void load()
    • load

      public static void load(File tempFolder)