public class Parameters extends StringParameters
bufferpath| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCopySourceOnNoText() |
boolean |
getDowngradeIdenticalBestMatches() |
boolean |
getFillIfTargetIsEmpty() |
boolean |
getFillIfTargetIsSameAsSource() |
boolean |
getFillTarget() |
int |
getFillTargetThreshold() |
boolean |
getLeverage() |
boolean |
getMakeTMX() |
int |
getNoQueryThreshold() |
String |
getResourceClassName() |
String |
getResourceParameters() |
String |
getTargetPrefix() |
int |
getTargetPrefixThreshold() |
int |
getThreshold() |
String |
getTMXPath() |
boolean |
getUseMTPrefix() |
boolean |
getUseTargetPrefix() |
void |
reset()
Reset this parameters object to its default values.
|
void |
setCopySourceOnNoText(boolean copySourceOnNoText) |
void |
setDowngradeIdenticalBestMatches(boolean downgradeIdenticalBestMatches) |
void |
setFillIfTargetIsEmpty(boolean fillIfTargetIsEmpty) |
void |
setFillIfTargetIsSameAsSource(boolean fillIfTargetIsSameAsSource) |
void |
setFillTarget(boolean fillTarget) |
void |
setFillTargetThreshold(int fillTargetThreshold) |
void |
setLeverage(boolean leverage) |
void |
setMakeTMX(boolean makeTMX) |
void |
setNoQueryThreshold(int noQuerythreshold) |
void |
setResourceClassName(String resourceClassName) |
void |
setResourceParameters(String resourceParameters) |
void |
setTargetPrefix(String targetPrefix) |
void |
setTargetPrefixThreshold(int targetPrefixThreshold) |
void |
setThreshold(int threshold) |
void |
setTMXPath(String tmxPath) |
void |
setUseMTPrefix(boolean useMTPrefix) |
void |
setUseTargetPrefix(boolean useTargetPrefix) |
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringgetParametersDescription, getPath, load, load, save, setPathpublic boolean getFillIfTargetIsEmpty()
public void setFillIfTargetIsEmpty(boolean fillIfTargetIsEmpty)
public boolean getFillIfTargetIsSameAsSource()
public void setFillIfTargetIsSameAsSource(boolean fillIfTargetIsSameAsSource)
public boolean getLeverage()
public void setLeverage(boolean leverage)
public String getResourceClassName()
public void setResourceClassName(String resourceClassName)
public String getResourceParameters()
public void setResourceParameters(String resourceParameters)
public int getNoQueryThreshold()
public void setNoQueryThreshold(int noQuerythreshold)
public int getThreshold()
public void setThreshold(int threshold)
public boolean getFillTarget()
public void setFillTarget(boolean fillTarget)
public int getFillTargetThreshold()
public void setFillTargetThreshold(int fillTargetThreshold)
public boolean getDowngradeIdenticalBestMatches()
public void setDowngradeIdenticalBestMatches(boolean downgradeIdenticalBestMatches)
public boolean getMakeTMX()
public void setMakeTMX(boolean makeTMX)
public boolean getCopySourceOnNoText()
public void setCopySourceOnNoText(boolean copySourceOnNoText)
public String getTMXPath()
public void setTMXPath(String tmxPath)
public boolean getUseMTPrefix()
public void setUseMTPrefix(boolean useMTPrefix)
public boolean getUseTargetPrefix()
public void setUseTargetPrefix(boolean useTargetPrefix)
public String getTargetPrefix()
public void setTargetPrefix(String targetPrefix)
public int getTargetPrefixThreshold()
public void setTargetPrefixThreshold(int targetPrefixThreshold)
public void reset()
StringParameters
Subclasses should override this method to set any initial
values and instantiate any objects that require allocation. It
is recommended that subclasses also call super.reset()
in the override to ensure that the buffer is empty.
reset in interface IParametersreset in class StringParametersCopyright © 2021. All rights reserved.