Java Create Directory mkdirs(String fileName, String baseName)

Here you can find the source of mkdirs(String fileName, String baseName)

Description

mkdirs

License

Open Source License

Declaration

private static void mkdirs(String fileName, String baseName) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.io.*;

public class Main {
    private static void mkdirs(String fileName, String baseName) {
        String path = baseName/*w ww  .  ja  va 2 s.  c  om*/
                + fileName.substring(0,
                        fileName.lastIndexOf(File.separator));
        new File(path).mkdirs();
    }
}

Related

  1. mkdirs(final String path)
  2. mkdirs(final String path)
  3. mkdirs(String destDir)
  4. mkdirs(String destination)
  5. mkdirs(String dirName)
  6. mkdirs(String filePath)
  7. mkdirs(String filePath)
  8. mkDirs(String filePath)
  9. mkdirs(String name)