public abstract class PublishedExportsOutputter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PublishedExportsOutputter.JsonOutputter |
| Modifier and Type | Field and Description |
|---|---|
protected PublishedExports |
exports |
| Modifier | Constructor and Description |
|---|---|
protected |
PublishedExportsOutputter(PublishedExports exports) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
asString()
Convert to a string
|
static PublishedExportsOutputter |
createOutputter(ConfigFormat format,
PublishedExports exports)
Create an outputter for the chosen format
|
void |
save(File dest) |
void |
save(OutputStream out)
Save the content.
|
protected final PublishedExports exports
protected PublishedExportsOutputter(PublishedExports exports)
public static PublishedExportsOutputter createOutputter(ConfigFormat format, PublishedExports exports)
format - format enumerationexports - owning configpublic void save(File dest) throws IOException
IOExceptionpublic void save(OutputStream out) throws IOException
out - output streamIOExceptionpublic abstract String asString() throws IOException
IOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.