code: public static boolean makeDirs(String filePath) {
          String folderName = getFolderName(filePath);
          if (StringUtils.isEmpty(folderName)) {
              return false;
          }
  
          File folder = new File(folderName);
          return (folder.exists() && folder.isDirectory()) || folder.mkdirs();
      }
docs: Creates the directory named by the trailing filename of this file, including the complete directory path required
  to create this directory. <br/>
  <br/>
  <ul>
  <strong>Attentions:</strong>
  <li>makeDirs("C:\\Users\\Trinea") can only create users folder</li>
  <li>makeFolder("C:\\Users\\Trinea\\") can create Trinea folder</li>
  </ul>
  
  @param filePath
  @return true if the necessary directories have been created or the target directory already exists, false one of
  the directories can not be created.