Class XMPMetaFactory.XMPVersionInfoImpl

java.lang.Object
com.itextpdf.kernel.xmp.XMPMetaFactory.XMPVersionInfoImpl
All Implemented Interfaces:
XMPVersionInfo
Enclosing class:
XMPMetaFactory

private static final class XMPMetaFactory.XMPVersionInfoImpl extends Object implements XMPVersionInfo
  • Field Details

    • major

      private final int major
    • minor

      private final int minor
    • micro

      private final int micro
    • engBuild

      private final int engBuild
    • debug

      private final boolean debug
    • message

      private final String message
  • Constructor Details

    • XMPVersionInfoImpl

      public XMPVersionInfoImpl(int major, int minor, int micro, int engBuild, boolean debug, String message)
  • Method Details

    • getMajor

      public int getMajor()
      Specified by:
      getMajor in interface XMPVersionInfo
      Returns:
      Returns the primary release number, the "1" in version "1.2.3".
    • getMinor

      public int getMinor()
      Specified by:
      getMinor in interface XMPVersionInfo
      Returns:
      Returns the secondary release number, the "2" in version "1.2.3".
    • getMicro

      public int getMicro()
      Specified by:
      getMicro in interface XMPVersionInfo
      Returns:
      Returns the tertiary release number, the "3" in version "1.2.3".
    • isDebug

      public boolean isDebug()
      Specified by:
      isDebug in interface XMPVersionInfo
      Returns:
      Returns true if this is a debug build.
    • getBuild

      public int getBuild()
      Specified by:
      getBuild in interface XMPVersionInfo
      Returns:
      Returns a rolling build number, monotonically increasing in a release.
    • getMessage

      public String getMessage()
      Specified by:
      getMessage in interface XMPVersionInfo
      Returns:
      Returns a comprehensive version information string.
    • toString

      public String toString()
      Overrides:
      toString in class Object