Class CBVersions
java.lang.Object
com.io7m.cedarbridge.version.CBVersions
Functions over versions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CBVersionofProperties(Properties properties) Load a version from the given properties.static CBVersionofStream(InputStream stream) Load a version from the given stream, which is assumed to be in Java properties format.
-
Method Details
-
ofStream
Load a version from the given stream, which is assumed to be in Java properties format.- Parameters:
stream- The input stream- Returns:
- A version
- Throws:
IOException- On I/O errors
-
ofProperties
Load a version from the given properties.- Parameters:
properties- The input properties- Returns:
- A version
-