How to load a resource bundle from a file resource?
A property resource bundle can be loaded by using FileInputStream object, sent as a parameter t the PropertyResourceBundle constructor.
The following code snippet illustrates this. FileInputStream fis = new FileInputStream("File path here");
try
{
return new PropertyResourceBundle(fis);
}
finally
{
fis.close();
}