public static void createFolders(IProject project, String[] folderStructures, IProgressMonitor monitor) throws CoreException {
for (String folderStructure : folderStructures) {
IPath relativePath = new Path(folderStructure);
IContainer container = project;
for (String pathSegment : relativePath.segments()) {
container = container.getFolder(new Path(pathSegment));
createFolders((IFolder) container, monitor);
}
}
}