Package net.sf.okapi.filters.html
Class Parameters
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.filters.abstractmarkup.AbstractMarkupParameters
-
- net.sf.okapi.filters.html.Parameters
-
- All Implemented Interfaces:
Cloneable
,IParameters
,ISimplifierRulesParameters
public class Parameters extends AbstractMarkupParameters
IParameters
based facade around the YAML configuration format.
-
-
Field Summary
Fields Modifier and Type Field Description static String
NONWELLFORMED_PARAMETERS
static String
WELLFORMED_PARAMETERS
-
Fields inherited from class net.sf.okapi.common.BaseParameters
path
-
Fields inherited from interface net.sf.okapi.common.ISimplifierRulesParameters
SIMPLIFIERRULES, SIMPLIFIERRULES_DISPLAY_NAME, SIMPLIFIERRULES_SHORT_DESC
-
-
Constructor Summary
Constructors Constructor Description Parameters()
Default constructor loads nonwellformed configurationParameters(File configFile)
Parameters(String configAsString)
Parameters(URL configPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reset()
Reset the parameters to their default values.-
Methods inherited from class net.sf.okapi.filters.abstractmarkup.AbstractMarkupParameters
fromString, getBoolean, getEditorTitle, getInteger, getSimplifierRules, getString, getTaggedConfig, setBoolean, setEditorTitle, setInteger, setSimplifierRules, setString, setTaggedConfig, toString, validateSimplifierRules
-
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
-
NONWELLFORMED_PARAMETERS
public static final String NONWELLFORMED_PARAMETERS
- See Also:
- Constant Field Values
-
WELLFORMED_PARAMETERS
public static final String WELLFORMED_PARAMETERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
reset
public void reset()
Description copied from interface:IParameters
Reset the parameters to their default values.- Specified by:
reset
in interfaceIParameters
- Overrides:
reset
in classAbstractMarkupParameters
-
-