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 Summary
Fields Modifier and Type Field Description protected URL
location
-
Fields inherited from class org.nuxeo.runtime.model.persistence.AbstractContribution
description, disabled, id, loaded, name
-
-
Constructor Summary
Constructors Constructor Description ContributionLocation(String name, URL location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
asURL()
Get an URL to that stream.String
getContent()
Gets the contribution XML content.InputStream
getStream()
Gets the contribution XML content.-
Methods inherited from class org.nuxeo.runtime.model.persistence.AbstractContribution
getDescription, getId, getName, isDisabled, load, setDescription, setDisabled
-
-
-
-
Field Detail
-
location
protected final URL location
-
-
Method Detail
-
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.
-
-