Access Java resources as .properties, File, XML or String