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 Modifier and Type Field Description static StringDEFAULT_FILE_NAME-
Fields inherited from class de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
alephseq, args, cmd, dataSource, DEFAULT_MARC_VERSION, DEFAULT_OUTPUT_DIR, defaultEncoding, defaultRecordType, doHelp, doLog, fixAlephseq, fixAlma, fixKbr, id, ignorableFields, limit, lineSeparated, marcFormat, marcVersion, marcxml, offset, options, parser, recordFilter, recordIgnorator, stream, trimId
-
-
Constructor Summary
Constructors Constructor Description FormatterParameters(String[] arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringformatParameters()intgetCountNr()StringgetFileName()StringgetFormat()StringgetPath()StringgetQuery()StringgetSearch()List<SchemaSpec>getSelector()StringgetSeparator()booleanhasSearch()booleanhasSelector()protected voidsetOptions()booleanwithId()-
Methods inherited from class de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
doHelp, doLog, fixAlephseq, fixAlma, fixKbr, getAlephseqLineType, getArgs, getDataSource, getDefaultEncoding, getDefaultRecordType, getGroupBy, getGroupListFile, getId, getIgnorableFields, getLimit, getMarcFormat, getMarcVersion, getOffset, getOptions, getOutputDir, getPicaIdField, getPicaRecordTypeField, getPicaSchemaFile, getPicaSubfieldSeparator, getRecordFilter, getRecordIgnorator, getReplacementInControlFields, getSchemaType, getStream, getTrimId, hasId, isAlephseq, isLineSeparated, isMarc21, isMarcxml, isPica, setAlephseq, setDataSource, setDataSource, setDefaultRecordType, setDefaultRecordType, setDoHelp, setDoLog, setFixAlephseq, setFixAlma, setFixKbr, setId, setIgnorableFields, setLimit, setLineSeparated, setMarcFormat, setMarcFormat, setMarcVersion, setMarcVersion, setMarcxml, setOffset, setOutputDir, setPicaIdField, setPicaSubfieldSeparator, setRecordFilter, setRecordIgnorator, setStream, setTrimId
-
-
-
-
Field Detail
-
DEFAULT_FILE_NAME
public static final String DEFAULT_FILE_NAME
- See Also:
- Constant Field Values
-
-
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()
-
getSelector
public List<SchemaSpec> getSelector()
-
hasSelector
public boolean hasSelector()
-
withId
public boolean withId()
-
getSeparator
public String getSeparator()
-
getFileName
public String getFileName()
-
formatParameters
public String formatParameters()
- Overrides:
formatParametersin classCommonParameters
-
-