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, setDisabledpublic ContributionFile(String name, File file)
public URL asURL()
StreamRefpublic String getContent()
Contributionpublic InputStream getStream()
ContributionCopyright © 2019 Nuxeo. All rights reserved.