public abstract class XTCEDatabaseExporter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Charset |
charEncoding_ |
protected XTCEDatabase |
db_ |
protected Properties |
properties_ |
| Constructor and Description |
|---|
XTCEDatabaseExporter(XTCEDatabase db,
Properties properties,
Charset charEncoding)
Constructor
The exporter object needs to be constructed with a list of properties.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
exportContainers(File outFile)
Export the telemetry containers in the XTCE file represented by an
XTCEDatabase object.
|
List<String> |
exportParameters(File outFile)
Export the parameters in the XTCE file represented by an XTCEDatabase
object.
|
List<String> |
exportTelecommands(File outFile)
Export the telecommands in the XTCE file represented by an XTCEDatabase
object.
|
protected final XTCEDatabase db_
protected final Properties properties_
protected final Charset charEncoding_
public XTCEDatabaseExporter(XTCEDatabase db, Properties properties, Charset charEncoding) throws XTCEDatabaseException
db - XTCEDatabase object to export from.properties - Properties object containing potential modifiers for
use by this exporter. The object may be null, in which case all default
properties are used.charEncoding - Charset to encode the output text as.XTCEDatabaseException - in the event that the database object is
null.public List<String> exportParameters(File outFile) throws XTCEDatabaseException
outFile - File object to export to the data to.XTCEDatabaseException - thrown in the event that the file cannot
be opened/written/etc.public List<String> exportContainers(File outFile) throws XTCEDatabaseException
outFile - File object to export to the data to.XTCEDatabaseException - thrown in the event that the file cannot
be opened/written/etc.public List<String> exportTelecommands(File outFile) throws XTCEDatabaseException
outFile - File object to export to the data to.XTCEDatabaseException - thrown in the event that the file cannot
be opened/written/etc.Copyright © 2015–2019. All rights reserved.