org.gcube.smartgears.configuration.library
Class SmartGearsConfigurationBinder
java.lang.Object
org.gcube.smartgears.configuration.library.SmartGearsConfigurationBinder
public class SmartGearsConfigurationBinder
- extends Object
Binds ContainerConfigurations to and from XML serialisations.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmartGearsConfigurationBinder
public SmartGearsConfigurationBinder()
bind
public SmartGearsConfiguration bind(InputStream stream)
- Returns a
ContainerConfiguration from its XML serialisation.
- Parameters:
stream - the serialisation
- Returns:
- the configuration
- Throws:
RuntimeException - if the serialisation is invalid
Copyright © 2014. All Rights Reserved.