Class CmsVfsUtil


  • public final class CmsVfsUtil
    extends java.lang.Object
    Provides Vfs utility functions.

    Since:
    11.0.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void createFolder​(CmsObject cms, java.lang.String rootPath)
      Creates a folder and its parent folders if they don't exist.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createFolder

        public static void createFolder​(CmsObject cms,
                                        java.lang.String rootPath)
                                 throws CmsException
        Creates a folder and its parent folders if they don't exist.

        Parameters:
        cms - the CMS context to use
        rootPath - the folder root path
        Throws:
        CmsException - if something goes wrong