class Files {

    public static SeekableByteChannel newByteChannel(final Path path,
                                                     final OpenOption... options)
            throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException,
            IOException, SecurityException {
        checkNotNull("path",
                     path);

        final Set<OpenOption> set = new HashSet<OpenOption>(options.length);
        addAll(set,
               options);
        return newByteChannel(path,
                              set);
    }

    private  Files();

}