Class SmartGearsConfigurationBinder
- java.lang.Object
-
- org.gcube.smartgears.configuration.library.SmartGearsConfigurationBinder
-
public class SmartGearsConfigurationBinder extends Object
BindsContainerConfigurations to and from XML serialisations.- Author:
- Fabio Simeoni
-
-
Constructor Summary
Constructors Constructor Description SmartGearsConfigurationBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmartGearsConfigurationbind(InputStream stream)Returns aContainerConfigurationfrom its XML serialisation.
-
-
-
Method Detail
-
bind
public SmartGearsConfiguration bind(InputStream stream)
Returns aContainerConfigurationfrom its XML serialisation.- Parameters:
stream- the serialisation- Returns:
- the configuration
- Throws:
RuntimeException- if the serialisation is invalid
-
-