Enum CODEC_FORMAT

    • Enum Constant Detail

      • OPJ_CODEC_UNKNOWN

        public static final CODEC_FORMAT OPJ_CODEC_UNKNOWN
      • OPJ_CODEC_J2K

        public static final CODEC_FORMAT OPJ_CODEC_J2K
      • OPJ_CODEC_JPT

        public static final CODEC_FORMAT OPJ_CODEC_JPT
      • OPJ_CODEC_JP2

        public static final CODEC_FORMAT OPJ_CODEC_JP2
      • OPJ_CODEC_JPP

        public static final CODEC_FORMAT OPJ_CODEC_JPP
      • OPJ_CODEC_JPX

        public static final CODEC_FORMAT OPJ_CODEC_JPX
    • Method Detail

      • values

        public static CODEC_FORMAT[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CODEC_FORMAT c : CODEC_FORMAT.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CODEC_FORMAT 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
      • intValue

        public int intValue()
        Specified by:
        intValue in interface jnr.ffi.util.EnumMapper.IntegerEnum