Enum PdfVersion

  • All Implemented Interfaces:

    
    public enum PdfVersion
    
                        

    PDF versions supported by PSPDFKit.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Method Summary

      Modifier and Type Method Description
      int getMaxEncryptionKeyLength() Returns the maximum length for the encryption key for this version.
      static Array<PdfVersion> values() Returns an array containing the constants of this enum type, in the order they're declared.
      static PdfVersion valueOf(String name) Returns the enum constant of this type with the specified name.
      int getMajorVersion() Gets major version number of this PDF version.
      int getMinorVersion() Gets minor version number of this PDF version.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getMaxEncryptionKeyLength

         int getMaxEncryptionKeyLength()

        Returns the maximum length for the encryption key for this version.

        Returns:

        Max encryption key length.

      • values

         static Array<PdfVersion> values()

        Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

        Returns:

        an array containing the constants of this enum type, in the order they're declared

      • valueOf

         static PdfVersion 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.)

        Returns:

        the enum constant with the specified name

      • getMajorVersion

         int getMajorVersion()

        Gets major version number of this PDF version.

        Returns:

        Major version number (one before the dot).

      • getMinorVersion

         int getMinorVersion()

        Gets minor version number of this PDF version.

        Returns:

        Minor version number (one after the dot).