32 throw new \Magento\Framework\Exception\LocalizedException(
33 __(
'The adapter type must be a non-empty string.')
36 $adapterClass =
'Magento\ImportExport\Model\Import\Source\\' . ucfirst(strtolower(
$type));
39 throw new \Magento\Framework\Exception\LocalizedException(
40 __(
'\'%1\
' file extension is not supported',
$type)
46 throw new \Magento\Framework\Exception\LocalizedException(
47 __(
'Adapter must be an instance of \Magento\ImportExport\Model\Import\AbstractSource')
static findAdapterFor($source, $directory, $options=null)
static factory($type, $directory, $source, $options=null)