Class Version
java.lang.Object
com.itextpdf.text.Version
This class contains version information about iText.
DO NOT CHANGE THE VERSION INFORMATION WITHOUT PERMISSION OF THE COPYRIGHT HOLDERS OF ITEXT.
Changing the version makes it extremely difficult to debug an application.
Also, the nature of open source software is that you honor the copyright of the original creators of the software.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VersionGets an instance of the iText version that is currently used.getKey()Returns a license key if one was provided, or null if not.Gets the product name. iText Group NV requests that you retain the iText producer line in every PDF that is created or manipulated using iText.Gets the release number. iText Group NV requests that you retain the iText producer line in every PDF that is created or manipulated using iText.Returns the iText version as shown in the producer line. iText is a product developed by iText Group NV. iText Group requests that you retain the iText producer line in every PDF that is created or manipulated using iText.static booleanChecks if the AGPL version is used.
-
Field Details
-
AGPL
String that will indicate if the AGPL version is used.
-
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
getInstance
Gets an instance of the iText version that is currently used. Note that iText Group requests that you retain the iText producer line in every PDF that is created or manipulated using iText. -
getProduct
Gets the product name. iText Group NV requests that you retain the iText producer line in every PDF that is created or manipulated using iText.- Returns:
- the product name
-
getRelease
Gets the release number. iText Group NV requests that you retain the iText producer line in every PDF that is created or manipulated using iText.- Returns:
- the release number
-
getVersion
Returns the iText version as shown in the producer line. iText is a product developed by iText Group NV. iText Group requests that you retain the iText producer line in every PDF that is created or manipulated using iText.- Returns:
- iText version
-
getKey
Returns a license key if one was provided, or null if not.- Returns:
- a license key.
-
isAGPLVersion
public static boolean isAGPLVersion()Checks if the AGPL version is used.- Returns:
- returns true if the AGPL version is used.
-