public class Replacement extends Object
| Constructor and Description |
|---|
Replacement() |
Replacement(FileUtils fileUtils,
String token,
String value,
boolean unescape,
String xpath,
String encoding) |
Replacement(FileUtils fileUtils,
String token,
String value,
boolean unescape,
String xpath,
String encoding,
String jsonpath,
String jsontype) |
| Modifier and Type | Method and Description |
|---|---|
static Replacement |
from(Replacement replacement) |
String |
getEncoding() |
String |
getJsonpath() |
String |
getJsontype() |
String |
getToken() |
String |
getValue() |
String |
getXpath() |
boolean |
isUnescape() |
void |
setEncoding(String encoding) |
void |
setJsonpath(String jsonpath) |
void |
setJsontype(String jsontype) |
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) |
public Replacement()
public Replacement(FileUtils fileUtils, String token, String value, boolean unescape, String xpath, String encoding)
public void setTokenFile(String tokenFile) throws IOException
IOExceptionpublic void setValueFile(String valueFile) throws IOException
IOExceptionpublic String getToken()
public String getValue()
public void setToken(String token)
public void setValue(String value)
public void setUnescape(boolean unescape)
public boolean isUnescape()
public static Replacement from(Replacement replacement)
public Replacement withDelimiter(DelimiterBuilder delimiter)
public void setXpath(String xpath)
public String getXpath()
public void setEncoding(String encoding)
public String getEncoding()
public void setJsonpath(String jsonpath)
public String getJsonpath()
public String getJsontype()
public void setJsontype(String jsontype)
Copyright © 2019. All Rights Reserved.