Class Parameters
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.common.StringParameters
-
- net.sf.okapi.steps.translationcomparison.Parameters
-
- All Implemented Interfaces:
Cloneable
,IParameters
,IEditorDescriptionProvider
public class Parameters extends StringParameters implements IEditorDescriptionProvider
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALTTRANSORIGIN
static String
AUTOOPEN
static String
CASESENSITIVE
static String
DATALOGPATH
static String
DOCUMENT1LABEL
static String
DOCUMENT2LABEL
static String
DOCUMENT3LABEL
static String
GENERATEHTML
static String
GENERATETMX
static String
GENERICCODES
static String
PUNCTUATIONSENSITIVE
static String
TARGET2SUFFIX
static String
TARGET3SUFFIX
static String
TMXPATH
static String
USEALTTRANS
static String
USEDATALOG
static String
WHITESPACESENSITIVE
-
Fields inherited from class net.sf.okapi.common.StringParameters
buffer
-
Fields inherited from class net.sf.okapi.common.BaseParameters
path
-
-
Constructor Summary
Constructors Constructor Description Parameters()
-
Method Summary
-
Methods inherited from class net.sf.okapi.common.StringParameters
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.IParameters
copy
-
-
-
-
Field Detail
-
GENERATETMX
public static final String GENERATETMX
- See Also:
- Constant Field Values
-
TMXPATH
public static final String TMXPATH
- See Also:
- Constant Field Values
-
GENERATEHTML
public static final String GENERATEHTML
- See Also:
- Constant Field Values
-
GENERICCODES
public static final String GENERICCODES
- See Also:
- Constant Field Values
-
AUTOOPEN
public static final String AUTOOPEN
- See Also:
- Constant Field Values
-
TARGET2SUFFIX
public static final String TARGET2SUFFIX
- See Also:
- Constant Field Values
-
TARGET3SUFFIX
public static final String TARGET3SUFFIX
- See Also:
- Constant Field Values
-
DOCUMENT1LABEL
public static final String DOCUMENT1LABEL
- See Also:
- Constant Field Values
-
DOCUMENT2LABEL
public static final String DOCUMENT2LABEL
- See Also:
- Constant Field Values
-
DOCUMENT3LABEL
public static final String DOCUMENT3LABEL
- See Also:
- Constant Field Values
-
CASESENSITIVE
public static final String CASESENSITIVE
- See Also:
- Constant Field Values
-
WHITESPACESENSITIVE
public static final String WHITESPACESENSITIVE
- See Also:
- Constant Field Values
-
PUNCTUATIONSENSITIVE
public static final String PUNCTUATIONSENSITIVE
- See Also:
- Constant Field Values
-
USEDATALOG
public static final String USEDATALOG
- See Also:
- Constant Field Values
-
DATALOGPATH
public static final String DATALOGPATH
- See Also:
- Constant Field Values
-
ALTTRANSORIGIN
public static final String ALTTRANSORIGIN
- See Also:
- Constant Field Values
-
USEALTTRANS
public static final String USEALTTRANS
- See Also:
- Constant Field Values
-
-
Method Detail
-
isGenerateTMX
public boolean isGenerateTMX()
-
setGenerateTMX
public void setGenerateTMX(boolean generateTMX)
-
getTmxPath
public String getTmxPath()
-
setTmxPath
public void setTmxPath(String tmxPath)
-
isGenerateHTML
public boolean isGenerateHTML()
-
setGenerateHTML
public void setGenerateHTML(boolean generateHTML)
-
getGenericCodes
public boolean getGenericCodes()
-
setGenericCodes
public void setGenericCodes(boolean genericCodes)
-
isAutoOpen
public boolean isAutoOpen()
-
setAutoOpen
public void setAutoOpen(boolean autoOpen)
-
isCaseSensitive
public boolean isCaseSensitive()
-
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
-
isWhitespaceSensitive
public boolean isWhitespaceSensitive()
-
setWhitespaceSensitive
public void setWhitespaceSensitive(boolean whitespaceSensitive)
-
isPunctuationSensitive
public boolean isPunctuationSensitive()
-
setPunctuationSensitive
public void setPunctuationSensitive(boolean punctuationSensitive)
-
getTarget2Suffix
public String getTarget2Suffix()
-
setTarget2Suffix
public void setTarget2Suffix(String target2Suffix)
-
getTarget3Suffix
public String getTarget3Suffix()
-
setTarget3Suffix
public void setTarget3Suffix(String target3Suffix)
-
getDocument1Label
public String getDocument1Label()
-
setDocument1Label
public void setDocument1Label(String document1Label)
-
getDocument2Label
public String getDocument2Label()
-
setDocument2Label
public void setDocument2Label(String document2Label)
-
getDocument3Label
public String getDocument3Label()
-
setDocument3Label
public void setDocument3Label(String document3Label)
-
getUseAltTrans
public boolean getUseAltTrans()
-
setUseAltTrans
public void setUseAltTrans(boolean useAltTrans)
-
getAltTransOrigin
public String getAltTransOrigin()
-
setAltTransOrigin
public void setAltTransOrigin(String altTransOrigin)
-
getUseDataLog
public boolean getUseDataLog()
-
setUseDataLog
public void setUseDataLog(boolean useDataLog)
-
getDataLogPath
public String getDataLogPath()
-
setDataLogPath
public void setDataLogPath(String dataLogPath)
-
reset
public void reset()
Description copied from class:StringParameters
Reset this parameters object to its default values.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.- Specified by:
reset
in interfaceIParameters
- Overrides:
reset
in classStringParameters
-
getParametersDescription
public ParametersDescription getParametersDescription()
Description copied from interface:IParameters
Gets the description of the parameters.- Specified by:
getParametersDescription
in interfaceIParameters
- Overrides:
getParametersDescription
in classBaseParameters
- Returns:
- the ParametersDescription object for this set of parameters, or null if none is provided.
-
createEditorDescription
public EditorDescription createEditorDescription(ParametersDescription paramsDesc)
- Specified by:
createEditorDescription
in interfaceIEditorDescriptionProvider
-
-