I've got a case where I want a FooResources singleton that is just like
TurbineResources to store application specific stuff.  The nice thing with
TurbineResources is that we can set the props file in init() but there's not
a nice place to store the FooResources props file without hard coding the
path to it (tell me if I'm wrong here).

So what I'd like to do in FooResources is this:

confs = new Configurations(
            new ExtendedProperties(

               RelayResources.class.getResourceAsStream( "/foo.properties" )
            )
        );


But this requires adding this constructor to ExtendedProperties:

    /**
     * Creates and loads the extended properties from the specified
InputStream.
     */
    public ExtendedProperties (InputStream input) throws IOException {
        this.load(input);
    }

Would need to synch this with org.apache.java.util

Sound good?



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to