public class Recording extends Object
| Constructor and Description |
|---|
Recording(String directoryPath)
Instantiate a Recording from an XML file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRecord(XmlDocumentElement input,
String output)
Adds a record to this recording.
|
void |
finish()
Ends processing for this recording and writes it to an XML file.
|
String |
GetRecordingFile()
Gets the recording file.
|
boolean |
RecordingOn()
Recording on.
|
void |
start()
Start.
|
static void |
writeRecording(RecordSet record,
OutputStream os)
Write recording.
|
public Recording(String directoryPath)
directoryPath - the path to the filepublic boolean RecordingOn()
public String GetRecordingFile()
public void start()
throws IOException
IOException - Signals that an I/O exception has occurred.public void addRecord(XmlDocumentElement input, String output)
input - the DocumentElement in this recordoutput - the realisationpublic void finish()
throws JAXBException,
IOException,
TransformerException
JAXBException - the jAXB exceptionIOException - Signals that an I/O exception has occurred.TransformerException - the transformer exceptionpublic static void writeRecording(RecordSet record, OutputStream os) throws JAXBException, IOException, TransformerException
record - the recordos - the osJAXBException - the jAXB exceptionIOException - Signals that an I/O exception has occurred.TransformerException - the transformer exceptionCopyright © 2020. All Rights Reserved.