public class ConfigurationUnmarshaller extends Object
| Constructor and Description |
|---|
ConfigurationUnmarshaller() |
ConfigurationUnmarshaller(Set<String> profiles) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(URL url)
Returns true if the configuration file is valid according to its schema declaration.
|
Configuration |
unmarshall(URL url) |
public boolean isValid(URL url) throws NullPointerException, IOException
url - the url of the configuration to validateIOException - any IOException thrown by using the provided URLNullPointerException - if the provided URL is nullpublic Configuration unmarshall(URL url) throws Exception
ExceptionCopyright © 2019 eXo Platform SAS. All Rights Reserved.