/**
  * @return bool
  * @uses stepImportCategory
  * @uses stepImportProduct
  * @uses stepImportSku
  * @uses stepImportImage
  * @usedby step
  */
 private function stepImport()
 {
     $result = false;
     if ($this->data['count'][self::STAGE_IMAGE] > $this->data['current'][self::STAGE_IMAGE]) {
         $result = $this->stepImportImage();
     } else {
         if ($this->reader->next() && ($current = $this->reader->current())) {
             $this->data['current'][self::STAGE_FILE] = $this->reader->offset();
             if ($type = self::getDataType($current)) {
                 $method_name = 'stepImport' . ucfirst($type);
                 if (method_exists($this, $method_name)) {
                     $result = $this->{$method_name}($current);
                 } else {
                     $this->error(sprintf("Unsupported import data type %s", $type));
                 }
                 if (false) {
                     //TODO write
                     $row = $this->reader->getTableRow();
                 }
             }
         } elseif (!$this->reader->valid()) {
             $this->data['current'][self::STAGE_FILE] = $this->reader->offset();
         }
     }
     return $result;
 }