File.createFolders()

Signature

boolean createFolders(String directoryPath, String folderPath)

Domain

ACTION, CONDITION, BUI

Description

Creates a folder structure on the file system for this filepath

Parameters

NameTypeDescription
directoryPathStringThe directory to create folder in
filePathStringThe filePath whose folder structure has to be created

Returns

TypeDescription
booleanWhether folder structure was created or not

Cautions

The filePath should not point to a directory