Class StringSubstitutor


  • public class StringSubstitutor
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Map<java.lang.String,​java.lang.String> globals  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static org.apache.commons.lang3.text.StrLookup<java.lang.String> getStringLookup​(ModFile file)  
      static java.lang.String replace​(java.lang.String in, ModFile file)  
      • Methods inherited from class java.lang.Object

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

      • globals

        private static final java.util.Map<java.lang.String,​java.lang.String> globals
    • Constructor Detail

      • StringSubstitutor

        public StringSubstitutor()
    • Method Detail

      • replace

        public static java.lang.String replace​(java.lang.String in,
                                               ModFile file)
      • getStringLookup

        private static org.apache.commons.lang3.text.StrLookup<java.lang.String> getStringLookup​(ModFile file)