Henning,

thanks a lot.

-Josef

On 8/23/05, Henning P. Schmiedehausen <[EMAIL PROTECTED]> wrote:
> Josef Holy <[EMAIL PROTECTED]> writes:
> 
> >Is there any way how to get the java.util.Properties instance from the
> >Configuration? There are methods in the AbstractConfiguration class -
> >subset(prefix) and getProperties(key), but none of them fits my need.
> 
> http://jakarta.apache.org/commons/configuration/apidocs_1.0/org/apache/commons/configuration/ConfigurationConverter.html
> 
> Configuration log4Conf = conf.subset("log4j");
> PropertiesConfiguration.configure(
>             ConfigurationConverter.getProperties(log4Conf));
> 
> BTDT, works fine. ;-)
> 
>         Regards
>                 Henning
> 
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> [EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/
> 
> RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
>    Linux, Java, perl, Solaris -- Consulting, Training, Development
> 
>                       4 - 8 - 15 - 16 - 23 - 42
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
[EMAIL PROTECTED]
http://www.subject.cz/josef

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to