Package com.io7m.cedarbridge.exprsrc.api

# Interface CBExpressionSourceFactoryType

All Known Implementing Classes:
  `CBExpressionSources`

public interface CBExpressionSourceFactoryType
A factory of expression sources.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBExpressionSourceType`
  `create(URI uri, InputStream stream)`
  Create a source of expressions from the given stream.
  `default CBExpressionSourceType`
  `create(Path path)`
  Create a source of expressions from the path.

- ## Method Details

  - ### create

    CBExpressionSourceType create(URI uri, InputStream stream)
    Create a source of expressions from the given stream.
    Parameters:
      `uri` - The stream URI
      `stream` - The stream
    Returns:
      An expression source

  - ### create

    default CBExpressionSourceType create(Path path) throws IOException
    Create a source of expressions from the path.
    Parameters:
      `path` - The path
    Returns:
      An expression source
    Throws:
      `IOException` - On errors