Package com.io7m.cedarbridge.version

# Class CBVersions

java.lang.Object
com.io7m.cedarbridge.version.CBVersions

public final class CBVersions extends Object
Functions over versions.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static CBVersion`
  `ofProperties(Properties properties)`
  Load a version from the given properties.
  `static CBVersion`
  `ofStream(InputStream stream)`
  Load a version from the given stream, which is assumed to be in Java properties format.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### ofStream

    public static CBVersion ofStream(InputStream stream) throws IOException
    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

    public static CBVersion ofProperties(Properties properties)
    Load a version from the given properties.
    Parameters:
      `properties` - The input properties
    Returns:
      A version