Class CBVersions

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

public final class CBVersions extends Object
Functions over versions.
  • 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