Package net.sf.okapi.steps.tradosutils
Class ParametersExport
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.common.StringParameters
-
- net.sf.okapi.steps.tradosutils.ParametersExport
-
- All Implemented Interfaces:
Cloneable,IParameters,IEditorDescriptionProvider
public class ParametersExport extends StringParameters implements IEditorDescriptionProvider
-
-
Field Summary
-
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 ParametersExport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditorDescriptioncreateEditorDescription(ParametersDescription paramDesc)StringgetConstraintsFile()StringgetFilterConfigurationForExportFormat(int formatCode)Gets the Okapi filter configuration for a given Trados export format.intgetFormat()ParametersDescriptiongetParametersDescription()StringgetPass()booleangetSendExportedFile()StringgetUser()voidreset()voidsetConstraintsFile(String constraintsFile)voidsetFormat(int format)voidsetPass(String pass)voidsetSendExportedFile(boolean sendExportedFile)voidsetUser(String user)-
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
-
-
-
-
Method Detail
-
getUser
public String getUser()
-
setUser
public void setUser(String user)
-
getPass
public String getPass()
-
setPass
public void setPass(String pass)
-
getFormat
public int getFormat()
-
setFormat
public void setFormat(int format)
-
getConstraintsFile
public String getConstraintsFile()
-
setConstraintsFile
public void setConstraintsFile(String constraintsFile)
-
getSendExportedFile
public boolean getSendExportedFile()
-
setSendExportedFile
public void setSendExportedFile(boolean sendExportedFile)
-
reset
public void reset()
- Specified by:
resetin interfaceIParameters- Overrides:
resetin classStringParameters
-
getParametersDescription
public ParametersDescription getParametersDescription()
- Specified by:
getParametersDescriptionin interfaceIParameters- Overrides:
getParametersDescriptionin classBaseParameters
-
createEditorDescription
public EditorDescription createEditorDescription(ParametersDescription paramDesc)
- Specified by:
createEditorDescriptionin interfaceIEditorDescriptionProvider
-
getFilterConfigurationForExportFormat
public String getFilterConfigurationForExportFormat(int formatCode)
Gets the Okapi filter configuration for a given Trados export format.- Parameters:
formatCode- the code of the export format.- Returns:
- the configuration identifier, or null if none is found.
-
-