Package com.itextpdf.kernel.xmp
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 java.lang.Object implements XMPVersionInfo
-
-
Constructor Summary
Constructors Constructor Description XMPVersionInfoImpl(int major, int minor, int micro, int engBuild, boolean debug, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBuild()
int
getMajor()
java.lang.String
getMessage()
int
getMicro()
int
getMinor()
boolean
isDebug()
java.lang.String
toString()
-
-
-
Method Detail
-
getMajor
public int getMajor()
- Specified by:
getMajor
in interfaceXMPVersionInfo
- Returns:
- Returns the primary release number, the "1" in version "1.2.3".
-
getMinor
public int getMinor()
- Specified by:
getMinor
in interfaceXMPVersionInfo
- Returns:
- Returns the secondary release number, the "2" in version "1.2.3".
-
getMicro
public int getMicro()
- Specified by:
getMicro
in interfaceXMPVersionInfo
- Returns:
- Returns the tertiary release number, the "3" in version "1.2.3".
-
isDebug
public boolean isDebug()
- Specified by:
isDebug
in interfaceXMPVersionInfo
- Returns:
- Returns true if this is a debug build.
-
getBuild
public int getBuild()
- Specified by:
getBuild
in interfaceXMPVersionInfo
- Returns:
- Returns a rolling build number, monotonically increasing in a release.
-
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage
in interfaceXMPVersionInfo
- Returns:
- Returns a comprehensive version information string.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-