Class PropertiesUtils


  • public class PropertiesUtils
    extends Object
    • Constructor Detail

      • PropertiesUtils

        public PropertiesUtils()
    • Method Detail

      • loadProperties

        public static Properties loadProperties​(Path path,
                                                Charset charset)
        Loads a Poperties file from a given Path using a given Charset.
        Parameters:
        path - The File to read the Properties from.
        charset - The Charset used for reading the Properties file.
        Returns:
        The Properties of the given file.
      • loadProperties

        public static Properties loadProperties​(Reader reader)
        Loads Properties from a given Reader.
        Parameters:
        reader - The reader used for parsing the Properties.
        Returns:
        The Properties of the given Reader.