Class PropertiesUtil

java.lang.Object
io.deephaven.util.PropertiesUtil

public class PropertiesUtil extends Object
Utilities for working with Properties.
  • Constructor Details

    • PropertiesUtil

      public PropertiesUtil()
  • Method Details

    • load

      public static Properties load(String file) throws IOException
      Load the properties file from file using UTF-8.
      Parameters:
      file - the file
      Returns:
      the properties
      Throws:
      IOException - if an IO exception occurs
    • load

      public static void load(Properties properties, Path path, Charset charset) throws IOException
      Load the properties from path into properties with charset.
      Parameters:
      properties - the properties
      path - the path
      charset - the charset
      Throws:
      IOException - if an IO exception occurs