public class ArchiveServerConfigurationXmlImport extends Object
ArchiveServerConfigurationXmlExport
.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log
Logger for this class.
|
Constructor and Description |
---|
ArchiveServerConfigurationXmlImport(InputStream inputStream)
Creates an imported archive-server configuration from an XML file.
|
Modifier and Type | Method and Description |
---|---|
List<ChannelMetaDataDAO.ChannelConfiguration> |
getChannels()
Returns the channels that have been imported from the configuration file.
|
public ArchiveServerConfigurationXmlImport(InputStream inputStream)
ArchiveServerConfigurationXmlExport.serialize(java.io.OutputStream, String)
.inputStream
- input stream from which the configuration file is read. The
encoding is automatically discovered from the XML declaration.RuntimeException
- if there is a problem with the configuration file (e.g. an
I/O error or an invalid format).public List<ChannelMetaDataDAO.ChannelConfiguration> getChannels()
Copyright © 2011–2017 aquenos GmbH. All rights reserved.