パッケージ org.iplass.mtp.dev.gradle

クラス PropertyFileUtil

java.lang.Object
org.iplass.mtp.dev.gradle.PropertyFileUtil

public class PropertyFileUtil extends Object
Property file utility.
  • メソッドの詳細

    • save

      public static void save(File file, Map<String,String> propValues)
      Save the property file.
      パラメータ:
      file - destination file.
      propValues - property key and value.
    • load

      public static Properties load(File file)
      Load the property file.
      パラメータ:
      file - read file.
      戻り値:
      An instance of a property file read.
    • load

      public static Properties load(InputStream input)
      Load the property file.
      パラメータ:
      input - read input stream.
      戻り値:
      An instance of a property file read.