Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9ECF5D913 for ; Wed, 19 Dec 2012 16:17:14 +0000 (UTC) Received: (qmail 77320 invoked by uid 500); 19 Dec 2012 16:17:13 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 77029 invoked by uid 500); 19 Dec 2012 16:17:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 76605 invoked by uid 99); 19 Dec 2012 16:17:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 16:17:12 +0000 Date: Wed, 19 Dec 2012 16:17:12 +0000 (UTC) From: "Gary Gregory (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IO-361) Add API FileUtils.forceMkdirsParent() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Gary Gregory created IO-361: ------------------------------- Summary: Add API FileUtils.forceMkdirsParent() Key: IO-361 URL: https://issues.apache.org/jira/browse/IO-361 Project: Commons IO Issue Type: Bug Components: Utilities Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_35, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_35\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" Reporter: Gary Gregory Assignee: Gary Gregory Fix For: 2.5 Add API FileUtils.forceMkdirsParent(): {code:java} /** * 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 {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira