Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-361

Add API FileUtils.forceMkdirsParent()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5
    • Utilities
    • None

    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 
      

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: