Class ContributionLocation

java.lang.Object
org.nuxeo.runtime.model.persistence.AbstractContribution
org.nuxeo.runtime.model.persistence.fs.ContributionLocation
All Implemented Interfaces:
Contribution, StreamRef

public class ContributionLocation extends AbstractContribution
  • Field Details

    • location

      protected final URL location
  • Constructor Details

    • ContributionLocation

      public ContributionLocation(String name, URL location)
  • Method Details

    • getStream

      public InputStream getStream()
      Description copied from interface: Contribution
      Gets the contribution XML content. The content should be in Nuxeo XML component format.
    • getContent

      public String getContent()
      Description copied from interface: Contribution
      Gets the contribution XML content. The content should be in Nuxeo XML component format.
    • asURL

      public URL asURL()
      Description copied from interface: StreamRef
      Get an URL to that stream. May return null if no URL is available.