I have a file called mybundle.txt in c:/temp -
mybundle.txt
c:/temp
c:/temp/mybundle.txt
How do I load this file into a java.util.Res
java.util.Res
When you say it's "a valid resource bundle" - is it a property resource bundle? If so, the simplest way of loading it probably:
try (FileInputStream fis = new FileInputStream("c:/temp/mybundle.txt")) { return new PropertyResourceBundle(fis); }