public class HGDatabaseVersionFile extends 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(File file) |
Modifier and Type | Method and Description |
---|---|
File |
getFile() |
String |
getVersion(String component) |
void |
setVersion(String component,
String version) |
Copyright © 2015. All rights reserved.