Class Replacement

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

public class Replacement extends Object
  • Field Details

    • fileUtils

      private final FileUtils fileUtils
    • delimiter

      private DelimiterBuilder delimiter
    • unescape

      private boolean unescape
    • token

      private String token
    • value

      private String value
    • encoding

      private String encoding
    • xpath

      private String xpath
  • Constructor Details

    • Replacement

      public Replacement()
    • Replacement

      public Replacement(FileUtils fileUtils, String token, String value, boolean unescape, String xpath, String encoding)
  • Method Details

    • setTokenFile

      public void setTokenFile(String tokenFile) throws IOException
      Throws:
      IOException
    • setValueFile

      public void setValueFile(String valueFile) throws IOException
      Throws:
      IOException
    • getToken

      public String getToken()
    • getValue

      public String getValue()
    • setToken

      public void setToken(String token)
    • setValue

      public void setValue(String value)
    • unescape

      private String unescape(String text)
    • setUnescape

      public void setUnescape(boolean unescape)
    • isUnescape

      public boolean isUnescape()
    • from

      public static Replacement from(Replacement replacement)
    • withDelimiter

      public Replacement withDelimiter(DelimiterBuilder delimiter)
    • setXpath

      public void setXpath(String xpath)
    • getXpath

      public String getXpath()
    • setEncoding

      public void setEncoding(String encoding)
    • getEncoding

      public String getEncoding()