Package com.amazon.ion.util
Class JarInfo
- java.lang.Object
-
- com.amazon.ion.util.JarInfo
-
public final class JarInfo extends java.lang.ObjectProvides information about this release of the ion-java library.
-
-
Constructor Summary
Constructors Constructor Description JarInfo()Constructs a new instance that can provide build information about this library.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimestampgetBuildTime()Gets the time at which this package was built.java.lang.StringgetProjectVersion()Gets the ion-java project version of this build.
-
-
-
Constructor Detail
-
JarInfo
public JarInfo() throws IonExceptionConstructs a new instance that can provide build information about this library.- Throws:
IonException- if there's a problem loading the build info.
-
-
Method Detail
-
getProjectVersion
public java.lang.String getProjectVersion()
Gets the ion-java project version of this build.- Returns:
- null if the package version is unknown.
-
getBuildTime
public Timestamp getBuildTime()
Gets the time at which this package was built.- Returns:
- null if the build time is unknown.
-
-