Class SystemUtils

java.lang.Object
com.mchange.v2.lang.SystemUtils

public final class SystemUtils extends Object
java.lang.System related utils. At present, just some utilities for replacing parts of Strings with System properties or environment variables
  • Method Details

    • mapReplace

      public static String mapReplace(String source, Map<String,String> replacements)
      Use $${....} as escapes for ${....}
    • sysPropsReplace

      public static String sysPropsReplace(String source)
      Use $${....} as escapes for ${....}
    • envReplace

      public static String envReplace(String source)
      Use $${....} as escapes for ${....}
    • sysPropsEnvReplace

      public static String sysPropsEnvReplace(String source)
      Use $${....} as escapes for ${....}