public class HGDatabaseVersionFile
extends java.lang.Object
Represents version information at a particular database instance. This is a plain
Java property file. For each component the corresponding version is stored as a
property. The core component is hgdb
, so to obtain the version of the
HyperGraphDB in directory dir
, call
HGEnvironment.getVersions(dir).getVersion("hgdb")
.
Constructor and Description |
---|
HGDatabaseVersionFile(java.io.File file) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile() |
java.lang.String |
getVersion(java.lang.String component) |
void |
setVersion(java.lang.String component,
java.lang.String version) |