com.google.code.maven_replacer_plugin
Class Replacement

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

public class Replacement
extends Object


Constructor Summary
Replacement()
           
Replacement(FileUtils fileUtils, String token, String value, boolean unescape, String xpath, String encoding)
           
 
Method Summary
static Replacement from(Replacement replacement)
           
 String getEncoding()
           
 String getToken()
           
 String getValue()
           
 String getXpath()
           
 boolean isUnescape()
           
 void setEncoding(String encoding)
           
 void setToken(String token)
           
 void setTokenFile(String tokenFile)
           
 void setUnescape(boolean unescape)
           
 void setValue(String value)
           
 void setValueFile(String valueFile)
           
 void setXpath(String xpath)
           
 Replacement withDelimiter(DelimiterBuilder delimiter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Replacement

public Replacement()

Replacement

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

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)

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()


Copyright © 2012. All Rights Reserved.