Class Parameters
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.common.StringParameters
-
- net.sf.okapi.common.AbstractGroupParameters
-
- net.sf.okapi.steps.wordcount.common.Parameters
-
- All Implemented Interfaces:
Cloneable,IParameters,ISimplifierRulesParameters,IEditorDescriptionProvider
public class Parameters extends AbstractGroupParameters implements IEditorDescriptionProvider
-
-
Field Summary
-
Fields inherited from class net.sf.okapi.common.StringParameters
buffer
-
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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditorDescriptioncreateEditorDescription(ParametersDescription paramsDesc)intgetBufferSize()booleangetCountInBatch()booleangetCountInBatchItems()booleangetCountInDocuments()booleangetCountInGroups()booleangetCountInSubDocuments()booleangetCountInTextUnits()ParametersDescriptiongetParametersDescription()protected voidload(ParametersString buffer)voidreset()protected voidsave(ParametersString buffer)voidsetBufferSize(int bufferSize)voidsetCountInBatch(boolean countInBatch)voidsetCountInBatchItems(boolean countInBatchItems)voidsetCountInDocuments(boolean countInDocuments)voidsetCountInGroups(boolean countInGroups)voidsetCountInSubDocuments(boolean countInSubDocuments)-
Methods inherited from class net.sf.okapi.common.AbstractGroupParameters
fromString, getData, getSimplifierRules, loadFromResource, loadGroup, loadGroup, saveGroup, saveGroup, saveToResource, setSimplifierRules, toString, validateSimplifierRules
-
Methods inherited from class net.sf.okapi.common.StringParameters
fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString
-
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
-
-
-
-
Method Detail
-
getCountInBatch
public boolean getCountInBatch()
-
setCountInBatch
public void setCountInBatch(boolean countInBatch)
-
getCountInBatchItems
public boolean getCountInBatchItems()
-
setCountInBatchItems
public void setCountInBatchItems(boolean countInBatchItems)
-
getCountInDocuments
public boolean getCountInDocuments()
-
setCountInDocuments
public void setCountInDocuments(boolean countInDocuments)
-
getCountInSubDocuments
public boolean getCountInSubDocuments()
-
setCountInSubDocuments
public void setCountInSubDocuments(boolean countInSubDocuments)
-
getCountInGroups
public boolean getCountInGroups()
-
setCountInGroups
public void setCountInGroups(boolean countInGroups)
-
getCountInTextUnits
public boolean getCountInTextUnits()
-
setBufferSize
public void setBufferSize(int bufferSize)
-
getBufferSize
public int getBufferSize()
-
load
protected void load(ParametersString buffer)
- Specified by:
loadin classAbstractGroupParameters
-
reset
public void reset()
- Specified by:
resetin interfaceIParameters- Overrides:
resetin classStringParameters
-
save
protected void save(ParametersString buffer)
- Specified by:
savein classAbstractGroupParameters
-
getParametersDescription
public ParametersDescription getParametersDescription()
- Specified by:
getParametersDescriptionin interfaceIParameters- Overrides:
getParametersDescriptionin classBaseParameters
-
createEditorDescription
public EditorDescription createEditorDescription(ParametersDescription paramsDesc)
- Specified by:
createEditorDescriptionin interfaceIEditorDescriptionProvider
-
-