I would like to use apache commons configuration 1.10 to manage xml configurations.
My configuration is in a remote server, so I need to read it from a stream.
Something like java.util.Properties
that has method load
to read from a stream.
byte[] streamData=getConfigStream();
Properties p = new Properties();
p.load(new ByteArrayInputStream(streamData));
Checking the documentation I have not found anything that could help me.
Can anyone please help me how to get the required output?