Java Path Create nio createDir(Path p)

Here you can find the source of createDir(Path p)

Description

create Dir

License

LGPL

Declaration

private static void createDir(Path p) 

Method Source Code


//package com.java2s;
//License from project: LGPL 

import java.io.File;

import java.nio.file.Path;

public class Main {
    private static void createDir(Path p) {
        File file = p.toFile();//from  w  w  w. j a v a2 s  .  c  o  m
        file.mkdir();
    }
}

Related

  1. createACL(Path root, Path p, GroupPrincipal readOnly, GroupPrincipal readWrite)
  2. createAndGetOutputStream(String typename, String outputPath)
  3. createBufferedReader(Path path)
  4. createChecksums(final Path file, final Map functions)
  5. createClassWithDepsNextExtra(int index, Path dir)
  6. createDirectoriesIfRequired(@Nonnull Path path)
  7. createDirectory(final Path parent, final String folderName)
  8. createDirectory(Path parent, String name)
  9. createDirectory(Path path)