Changes to existing classes
- java.io.File
Is updated with a toPath() method that returns a java.nio.file.Path object constructed from the abstract path.
- java.io.FilePermission
Is updated to support an action that grants the ability to read a symbolic link.
- java.util.Scanner
Is updated with new constructors that create a text scanner for scanning files located by a java.nio.file.Path.
- java.nio.channels.SocketChannel
Is updated to implement java.nio.channels.NetworkChannel and additionally defines the methods: shutdownInput(), shutdownOutput(), and getRemoteAddress().
- java.nio.channels.ServerSocket
Is updated to implement java.nio.channels.NetworkChannel and additionally defines the method bind(SocketAddress,int).
- java.nio.channels.DatagramChannel
Is updated to implement java.nio.channels.MulticastChannel and additionally defines the methods open(ProtocolFamily) and getRemoteAddress().
- java.nio.channels.FileChannel
Is updated to implement java.nio.channels.SeekableByteChannel and additionally defines new static methods to open/create the file.
- java.nio.channels.FileLock
Is updated to define a new protected constructor for when the lock is acquired via an AsynchronousFileChannel.
FileLock is also updated to define the method acquiredBy().
- java.nio.channels.Channels
Is updated with two methods for interoperation between AsynchronousByteChannel types and streams.
No comments :
Post a Comment