Java--Java new IO--Introduction to Java new IO

Source: Internet
Author: User

20.1 Java New IO Introduction

20.2 Buffers with Buffer

Example: demonstrating the operation flow of buffers

Class:intbufferdemo01

20.2.2 Deep buffer operation

20.2.3 Creating a sub-buffer

20.2.4 creating a read-only buffer

20.2.5 Creating a direct buffer

20.3 Channels

20.3.1 FileChannel

Example: Using output channels to output content

Class:filechanneldemo01

Example: Using a channel for read and write operations

Class:filechanneldemo02

20.3.2 Memory Mapping

Example: Memory mapping

Class:filechanneldemo03

20.4 file Lock: Filelock

Example: Locking a file

Class:filelockdemo

20.5 Character Set: Charset

Example: Obtaining all the codes of the CharSet class

Class:getallcharsetdemo

20.6 Selector

Example: server that gets time

Class:dateserver

La La la

Java--Java new IO--Introduction to Java new IO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.