Let me rephrase my question:
I WANT to use the Properties class, not WMSProperties.
// This type comes from Spring
FileSystemResource f = new FileSystemResource (“my.properties”);
Properties p = new Properties ();
// This will throw a FileNotFoundException
p.load (f.getInputStream ());
Question 1:
How can I resolve Wowza “environment” folders, like the conf\MyApplication folder? Which makes me able to instantiate a FileSystemResource like this:
FileSystemResource f = new FileSystemResource (getSomehowTheConfFolder () + “\my.properties”);
Question 2:
You are supporting the expansion of ${com.wowza.wms.ConfigHome} to the real folder in StreamFolder settings section of Application.xml.
What function can I use to achieve the same and have a setting like this in my Application.xml:
ConfigDir
${com.wowza.wms.ConfigHome}\settings.proper ties
Filename
The Type=Filename should trigger your own mechanism of expanding variables inside that property value…
Thanks,
Attila