checkToCreateDirs

private open fun checkToCreateDirs(pathName: String)

Method to check if the pathname (without the name and the suffix of the file to save) given by the user exists then if not exists create that pathname

Parameters

pathName

: the pathname where save the file

Throws

when an error occurred during the creation of the directories