Class TokenValueMapFactory

java.lang.Object
com.google.code.maven_replacer_plugin.TokenValueMapFactory

public class TokenValueMapFactory extends Object
  • Field Details

  • Constructor Details

    • TokenValueMapFactory

      public TokenValueMapFactory(FileUtils fileUtils)
  • Method Details

    • replacementsForVariable

      public List<Replacement> replacementsForVariable(String variable, boolean commentsEnabled, boolean unescape, String encoding)
    • replacementsForFile

      public List<Replacement> replacementsForFile(String tokenValueMapFile, boolean commentsEnabled, boolean unescape, String encoding) throws IOException
      Throws:
      IOException
    • appendReplacement

      private void appendReplacement(List<Replacement> replacements, String fragment, boolean unescape, String encoding)
    • isSeparatorAt

      private boolean isSeparatorAt(int i, String line)
    • getNoValueErrorMsgFor

      private String getNoValueErrorMsgFor(String line)
    • ignoreFragment

      private boolean ignoreFragment(String line, boolean commentsEnabled)