Class ContributionFile

    • Field Detail

      • file

        protected final File file
    • Constructor Detail

      • ContributionFile

        public ContributionFile​(String name,
                                File file)
    • Method Detail

      • asURL

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

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

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