Class FormatterParameters
- java.lang.Object
-
- de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
-
- de.gwdg.metadataqa.marc.cli.parameters.FormatterParameters
-
- All Implemented Interfaces:
Serializable
public class FormatterParameters extends CommonParameters
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
alephseq, args, cmd, DEFAULT_OUTPUT_DIR, defaultRecordType, doHelp, doLog, fixAlephseq, ignorableFields, ignorableRecords, lineSeparated, marcVersion, marcxml, options, parser, trimId
-
-
Constructor Summary
Constructors Constructor Description FormatterParameters(String[] arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringformatParameters()intgetCountNr()StringgetFormat()StringgetPath()StringgetQuery()StringgetSearch()List<MarcSpec>getSelector()StringgetSeparator()booleanhasSearch()booleanhasSelector()protected voidsetOptions()booleanwithId()-
Methods inherited from class de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
doHelp, doLog, fixAlephseq, getArgs, getDefaultRecordType, getId, getIgnorableFields, getIgnorableRecords, getLimit, getMarcVersion, getOffset, getOptions, getOutputDir, getTrimId, hasId, isAlephseq, isLineSeparated, isMarcxml
-
-
-
-
Constructor Detail
-
FormatterParameters
public FormatterParameters(String[] arguments) throws org.apache.commons.cli.ParseException
- Throws:
org.apache.commons.cli.ParseException
-
-
Method Detail
-
setOptions
protected void setOptions()
- Overrides:
setOptionsin classCommonParameters
-
getFormat
public String getFormat()
-
getCountNr
public int getCountNr()
-
getSearch
public String getSearch()
-
hasSearch
public boolean hasSearch()
-
getPath
public String getPath()
-
getQuery
public String getQuery()
-
hasSelector
public boolean hasSelector()
-
withId
public boolean withId()
-
getSeparator
public String getSeparator()
-
formatParameters
public String formatParameters()
- Overrides:
formatParametersin classCommonParameters
-
-