commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: How to get the entire string with Configuration.getString
Date Wed, 30 Mar 2005 14:32:57 GMT
Sorry I forgot the method was static. Try this instead:

XMLConfiguration config = new XMLConfiguration();
XMLConfiguration.setDelimiter('\uffff');

Emmanuel Bourg


Zsolt Koppany wrote:
> Sorry, but this doesn't work with 1.1RC2.
> 
> XMLConfiguration config = new XMLConfiguration();
> AbstractConfiguration.setDelimiter('\uffff');
> char del = AbstractConfiguration.getDelimiter();
> log.debug("Delimiter <" + del + ">");
> config.setFile(file);
> config.load();
> 
> CompositeConfiguration cc = new CompositeConfiguration(config);
> configuration = cc;

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message