public function getRelativePathExMailDirectory()
 {
     switch ($this->getStorageType()) {
         case self::STORAGE_DATA:
             $path = ilUpdateUtilsMailMigration::getDataDir();
             break;
         case self::STORAGE_WEB:
             $path = ilUpdateUtilsMailMigration::getWebspaceDir();
             break;
     }
     $path = ilUpdateUtilsMailMigration::removeTrailingPathSeparators($path);
     $path .= '/';
     // Append path prefix
     $path .= $this->getPathPrefix() . '/';
     return str_replace($path, '', $this->getAbsolutePath());
 }
 /**
  * Read path info
  *
  * @access private
  */
 private function init()
 {
     switch ($this->storage_type) {
         case self::STORAGE_DATA:
             $this->path = ilUpdateUtilsMailMigration::getDataDir();
             break;
         case self::STORAGE_WEB:
             $this->path = ilUpdateUtilsMailMigration::getWebspaceDir();
             break;
     }
     $this->path = ilUpdateUtilsMailMigration::removeTrailingPathSeparators($this->path);
     $this->path .= '/';
     // Append path prefix
     $this->path .= $this->getPathPrefix() . '/';
     if ($this->path_conversion) {
         $this->path .= self::_createPathFromId($this->container_id, $this->getPathPostfix());
     } else {
         $this->path .= $this->getPathPostfix() . '_' . $this->container_id;
     }
     return true;
 }