Class Parameters
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.common.StringParameters
-
- net.sf.okapi.steps.encodingconversion.Parameters
-
- All Implemented Interfaces:
Cloneable,IParameters
public class Parameters extends StringParameters
-
-
Field Summary
Fields Modifier and Type Field Description static intESCAPE_CERstatic intESCAPE_JAVALstatic intESCAPE_JAVAUstatic intESCAPE_NCRDECIstatic intESCAPE_NCRHEXALstatic intESCAPE_NCRHEXAUstatic intESCAPE_USERFORMAT-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBOMonUTF8()booleangetEscapeAll()intgetEscapeNotation()booleangetReportUnsupported()booleangetUnescapeCER()booleangetUnescapeJava()booleangetUnescapeNCR()booleangetUseBytes()StringgetUserFormat()voidreset()Reset this parameters object to its default values.voidsetBOMonUTF8(boolean bOMonUTF8)voidsetEscapeAll(boolean escapeAll)voidsetEscapeNotation(int escapeNotation)voidsetReportUnsupported(boolean reportUnsupported)voidsetUnescapeCER(boolean unescapeCER)voidsetUnescapeJava(boolean unescapeJava)voidsetUnescapeNCR(boolean unescapeNCR)voidsetUseBytes(boolean useBytes)voidsetUserFormat(String userFormat)-
Methods inherited from class net.sf.okapi.common.StringParameters
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toString
-
Methods inherited from class net.sf.okapi.common.BaseParameters
getParametersDescription, getPath, load, load, save, setPath
-
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
-
ESCAPE_NCRHEXAU
public static final int ESCAPE_NCRHEXAU
- See Also:
- Constant Field Values
-
ESCAPE_NCRHEXAL
public static final int ESCAPE_NCRHEXAL
- See Also:
- Constant Field Values
-
ESCAPE_NCRDECI
public static final int ESCAPE_NCRDECI
- See Also:
- Constant Field Values
-
ESCAPE_CER
public static final int ESCAPE_CER
- See Also:
- Constant Field Values
-
ESCAPE_JAVAU
public static final int ESCAPE_JAVAU
- See Also:
- Constant Field Values
-
ESCAPE_JAVAL
public static final int ESCAPE_JAVAL
- See Also:
- Constant Field Values
-
ESCAPE_USERFORMAT
public static final int ESCAPE_USERFORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnescapeNCR
public boolean getUnescapeNCR()
-
setUnescapeNCR
public void setUnescapeNCR(boolean unescapeNCR)
-
getUnescapeCER
public boolean getUnescapeCER()
-
setUnescapeCER
public void setUnescapeCER(boolean unescapeCER)
-
getUnescapeJava
public boolean getUnescapeJava()
-
setUnescapeJava
public void setUnescapeJava(boolean unescapeJava)
-
getEscapeAll
public boolean getEscapeAll()
-
setEscapeAll
public void setEscapeAll(boolean escapeAll)
-
getEscapeNotation
public int getEscapeNotation()
-
setEscapeNotation
public void setEscapeNotation(int escapeNotation)
-
getUserFormat
public String getUserFormat()
-
setUserFormat
public void setUserFormat(String userFormat)
-
getUseBytes
public boolean getUseBytes()
-
setUseBytes
public void setUseBytes(boolean useBytes)
-
getBOMonUTF8
public boolean getBOMonUTF8()
-
setBOMonUTF8
public void setBOMonUTF8(boolean bOMonUTF8)
-
getReportUnsupported
public boolean getReportUnsupported()
-
setReportUnsupported
public void setReportUnsupported(boolean reportUnsupported)
-
reset
public void reset()
Description copied from class:StringParametersReset 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:
resetin interfaceIParameters- Overrides:
resetin classStringParameters
-
-