Package org.jdrupes.mdoclet.internal
Klasse Versions
java.lang.Object
org.jdrupes.mdoclet.internal.Versions
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic String
Returns a full string representation of the provided version.static Runtime.Version
Returns the version of the javadoc tool and the Standard doclet.static String
Returns a short string representation of the provided version.
-
Methodendetails
-
javadocVersion
Returns the version of the javadoc tool and the Standard doclet.This is typically the same as the version of the JDK platform being used to run the tool, but may be different when running the tool on an older version of the platform.
- Gibt zurück:
- the version
- Löst aus:
RuntimeException
- in an unlikely event of the version info not being available
-
shortVersionStringOf
Returns a short string representation of the provided version.The string contains the dotted representation of the version number, followed by the prerelease info, if any. For example, "15", "15.1", "15.0.1", "15-internal".
- Gibt zurück:
- a short string representation of the provided version
- Löst aus:
NullPointerException
- if v == null
-
fullVersionStringOf
Returns a full string representation of the provided version.Examples of strings returned from this method are "14+36-1461" and "15-internal+0-2020-06-02-1426246.duke...".
- Gibt zurück:
- a full string representation of the provided version
- Löst aus:
NullPointerException
- if v == null
-