public class ContributionFile extends AbstractContribution
Modifier and Type | Field and Description |
---|---|
protected File |
file |
description, disabled, id, loaded, name
Constructor and Description |
---|
ContributionFile(String name,
File file) |
Modifier and Type | Method and Description |
---|---|
URL |
asURL()
Get an URL to that stream.
|
String |
getContent()
Gets the contribution XML content.
|
InputStream |
getStream()
Gets the contribution XML content.
|
getDescription, getId, getName, isDisabled, load, setDescription, setDisabled
public ContributionFile(String name, File file)
public URL asURL()
StreamRef
public String getContent()
Contribution
public InputStream getStream()
Contribution
Copyright © 2015 Nuxeo SA. All rights reserved.