Class DefaultParserRegistry
java.lang.Object
com.hybris.backoffice.excel.importing.parser.DefaultParserRegistry
- All Implemented Interfaces:
ParserRegistry
Default implementation of
ParserRegistry-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsImportParameterParserfor given referenceFormat.voidsetParsers(List<ImportParameterParser> parsers)
-
Constructor Details
-
DefaultParserRegistry
public DefaultParserRegistry()
-
-
Method Details
-
getParser
ReturnsImportParameterParserfor given referenceFormat. If no parser matches given referenceFormat then aRuntimeExceptionis thrown.- Specified by:
getParserin interfaceParserRegistry- Parameters:
referenceFormat- format to check- Returns:
- parser which matches to given referenceFormat
-
setParsers
-