Commons IO
  1. Commons IO
  2. IO-361

Add API FileUtils.forceMkdirsParent()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: Utilities
    • Labels:
      None
    • Environment:

      Description

      Add API FileUtils.forceMkdirsParent():

          /**
           * Makes any necessary but nonexistent parent directories for a given File. If the parent directory cannot be
           * created then an IOException is thrown.
           * 
           * @param file
           *            file with parent to create, must not be {@code null}
           * @throws NullPointerException
           *             if the file is {@code null}
           * @throws IOException
           *             if the parent directory cannot be created
           * @since 2.5
           */
          public static void forceMkdirParent(final File file) throws IOException 
      

        Activity

        Gary Gregory made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Gary Gregory created issue -

          People

          • Assignee:
            Gary Gregory
            Reporter:
            Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development