class Files {

    public static Path createDirectory(final Path dir,
                                       final FileAttribute<?>... attrs)
            throws IllegalArgumentException, UnsupportedOperationException,
            FileAlreadyExistsException, IOException, SecurityException {
        checkNotNull("dir",
                     dir);

        providerOf(dir).createDirectory(dir,
                                        attrs);

        return dir;
    }

    private  Files();

}