public class XmlInstrumentExporter extends Object implements InstrumentExporter
| Constructor and Description |
|---|
XmlInstrumentExporter() |
| Modifier and Type | Method and Description |
|---|---|
String |
export(Instrument instrument)
Converts a single
Instrument to a string representation |
void |
export(List<Instrument> instruments,
Writer writer)
Called to export the list of
Instruments into a specific format |
String |
getMimeType()
Returns the mime type for the export
|
public String getMimeType()
InstrumentExportergetMimeType in interface InstrumentExporterpublic void export(List<Instrument> instruments, Writer writer) throws IOException
InstrumentExporterInstruments into a specific formatexport in interface InstrumentExporterinstruments - the list of Instrumentswriter - the writer to export the list toIOException - if things go badly in the IO woldpublic String export(Instrument instrument)
InstrumentExporterInstrument to a string representationexport in interface InstrumentExporterinstrument - an Instrument to exportCopyright © 2016 Atlassian. All rights reserved.