public interface InstrumentExporter
Instruments to a specific file
format, such as XML or JSON.| 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
|
void export(List<Instrument> instruments, Writer writer) throws IOException
Instruments into a specific formatinstruments - the list of Instrumentswriter - the writer to export the list toIOException - if things go badly in the IO woldString export(Instrument instrument)
Instrument to a string representationinstrument - an Instrument to exportString getMimeType()
Copyright © 2016 Atlassian. All rights reserved.