Class PropertyFileUtils
java.lang.Object
org.checkerframework.checker.propkey.PropertyFileUtils
Utilities for loading property files and resource bundles.
-
Method Summary
-
Method Details
-
load
Loads the entries in the property files named by the-Apropfilescommand-line option and in the resource bundles named by the-Abundlenamescommand-line option. Reports a warning for each file or bundle that cannot be loaded.- Parameters:
checker- the checker whose options name the files and bundles, and which reports warningscontextClass- the class whose class loader loads property-file resources- Returns:
- a map from each loaded key to its value
-