Class SystemUtils


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String envReplace​(java.lang.String source)
      Use $${....} as escapes for ${....}
      static java.lang.String mapReplace​(java.lang.String source, java.util.Map<java.lang.String,​java.lang.String> replacements)
      Use $${....} as escapes for ${....}
      static java.lang.String sysPropsEnvReplace​(java.lang.String source)
      Use $${....} as escapes for ${....}
      static java.lang.String sysPropsReplace​(java.lang.String source)
      Use $${....} as escapes for ${....}
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • mapReplace

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

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

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

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