class Files {

    public static <A extends BasicFileAttributes> A readAttributes(final Path path,
                                                                   final Class<A> type,
                                                                   final LinkOption... options)
            throws IllegalArgumentException, NoSuchFileException, UnsupportedOperationException, IOException, SecurityException {
        checkNotNull("path",
                     path);
        checkNotNull("type",
                     type);

        return providerOf(path).readAttributes(path,
                                               type,
                                               options);
    }

    private  Files();

}