commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt Koppany" <zkoppanyl...@intland.com>
Subject AW: How to get the entire string with Configuration.getString
Date Wed, 30 Mar 2005 19:47:55 GMT
I also tried that, didn't work either.

Zsolt

> -----Ursprüngliche Nachricht-----
> Von: Ha ryon [mailto:ha.ryon@gmail.com]
> Gesendet: Mittwoch, 30. März 2005 17:32
> An: Jakarta Commons Users List
> Betreff: Re: How to get the entire string with Configuration.getString
> 
> maybe try :
> AbstractConfiguration.setDelimiter('\uffff');
> XMLConfiguration config = new XMLConfiguration();
> 
> I would assume that, it's better to change a static parameter before
> an instance that need the change is created.
> 
> On Wed, 30 Mar 2005 17:24:12 +0200, Zsolt Koppany
> <zkoppanylist@intland.com> wrote:
> > setDelimiter is in AbstractConfiguration and XMLConfiguration doesn't
> > overwrite it.
> >
> > Again: I'm using 1.1RC2, I don't have the source code of 1.1-RC2 thus I
> > cannot check it.
> >
> > Zsolt
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Emmanuel Bourg [mailto:ebourg@apache.org]
> > > Gesendet: Mittwoch, 30. März 2005 16:33
> > > An: Jakarta Commons Users List
> > > Betreff: Re: How to get the entire string with Configuration.getString
> > >
> > > 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
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org



---------------------------------------------------------------------
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