Interface StreamRef

All Known Subinterfaces:
Contribution
All Known Implementing Classes:
AbstractContribution, ContributionBuilder, ContributionFile, ContributionLocation, InlineRef, URLStreamRef

public interface StreamRef
A named stream used to be able to deploy new components without referring to them via URLs.
Author:
Bogdan Stefanescu
  • Method Summary

    Modifier and Type
    Method
    Description
    Get an URL to that stream.
    Get an unique identifier for this stream.
    Get the stream content.
  • Method Details

    • getId

      String getId()
      Get an unique identifier for this stream.
    • getStream

      InputStream getStream() throws IOException
      Get the stream content.
      Throws:
      IOException
    • asURL

      URL asURL()
      Get an URL to that stream. May return null if no URL is available.