8292566: Add reference to the java.nio.file package in java.nio package documentation

Reviewed-by: iris, jpai, alanb
This commit is contained in:
Brian Burkhalter 2022-08-22 15:53:12 +00:00
parent 45c3e898ed
commit f95ee79603

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,15 +50,21 @@
* href="channels/package-summary.html#multiplex">multiplexed, * href="channels/package-summary.html#multiplex">multiplexed,
* non-blocking <br> I/O</a> facility. </p></li> * non-blocking <br> I/O</a> facility. </p></li>
* *
* <li><p> <a
* href="file/Path.html"><i>Path</i></a>,
* which together with the <a href="file/Files.html"><i>Files</i></a>
* class provides access to files. </p></li>
*
* </ul> * </ul>
* *
* <p> The {@code java.nio} package defines the buffer classes, which * <p> The {@code java.nio} package defines the buffer classes, which
* are used throughout the NIO APIs. The charset API is defined in * are used throughout the NIO APIs. The charset API is defined in
* the {@link java.nio.charset} package, and the channel and selector * the {@link java.nio.charset} package, the channel and selector APIs
* APIs are defined in the {@link java.nio.channels} package. Each of * in the {@link java.nio.channels} package, and the files and path APIs
* these subpackages has its own service-provider (SPI) subpackage, * in the {@link java.nio.file} package. Each of these subpackages has
* the contents of which can be used to extend the platform's default * its own service-provider interface (SPI) subpackage, the contents of
* implementations or to construct alternative implementations. * which can be used to extend the platform's default implementations or
* to construct alternative implementations.
* *
* <a id="buffers"> </a> * <a id="buffers"> </a>
* *