/** * Creates the parent directory of this resource, including any necessary * but nonexistent parent directories. * * @throws FileSystemException */ public synchronized void makeParentDirs() throws FileSystemException { String parentDir = getParentDir(); if (!fs.exists(parentDir)) { fs.createFolder(parentDir); } }
/** * Creates the parent directory of this resource, including any necessary * but nonexistent parent directories. * * @throws FileSystemException */ public synchronized void makeParentDirs() throws FileSystemException { String parentDir = getParentDir(); if (!fs.exists(parentDir)) { fs.createFolder(parentDir); } }
/** * Creates the parent directory of this resource, including any necessary * but nonexistent parent directories. * * @throws FileSystemException */ public synchronized void makeParentDirs() throws FileSystemException { String parentDir = getParentDir(); if (!fs.exists(parentDir)) { fs.createFolder(parentDir); } }