- java.lang.Object
-
- de.bernd_michaely.x3f.types.LibraryVersionInfo
-
public class LibraryVersionInfo extends Object
This class gives information about the versions of supported X3F file formats and the library itself.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VersionNumber
getLibraryVersion()
Returns the version number of this library.static String
getLibraryVersionAsString()
Returns a version string of this library.static String
getSupportedX3fVersion()
Returns the X3F data version supported by this library.static boolean
isReaderCompatible(VersionNumber versionNumber)
Checks, if the reader is compatible to the given data version.
-
-
-
Method Detail
-
getLibraryVersion
public static VersionNumber getLibraryVersion()
Returns the version number of this library.- Returns:
- the version number of this library
-
getLibraryVersionAsString
public static String getLibraryVersionAsString()
Returns a version string of this library.- Returns:
- a version string of this library
-
getSupportedX3fVersion
public static String getSupportedX3fVersion()
Returns the X3F data version supported by this library.- Returns:
- the X3F data version supported by this library
-
isReaderCompatible
public static boolean isReaderCompatible(VersionNumber versionNumber)
Checks, if the reader is compatible to the given data version.- Parameters:
versionNumber
- the data version to check- Returns:
- true, if compatible
-
-