René's URL Explorer Experiment


Title: InterviewNotes/notes/Java IO.md at master · XGCoder/InterviewNotes · GitHub

Open Graph Title: InterviewNotes/notes/Java IO.md at master · XGCoder/InterviewNotes

X Title: InterviewNotes/notes/Java IO.md at master · XGCoder/InterviewNotes

Description: :books: 计算机基础知识整理,持续更新中~. Contribute to XGCoder/InterviewNotes development by creating an account on GitHub.

Open Graph Description: :books: 计算机基础知识整理,持续更新中~. Contribute to XGCoder/InterviewNotes development by creating an account on GitHub.

X Description: :books: 计算机基础知识整理,持续更新中~. Contribute to XGCoder/InterviewNotes development by creating an account on GitHub.

Opengraph URL: https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:7a58b829-6a3d-0ee9-c4cc-f203fe6945f1
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idBFA2:2E6B05:586ADE:75B27B:6A53EB54
html-safe-nonce9f4a01660379225b11099b59bc6f7b9cb3831add14b0d890545fba38a809082b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkEyOjJFNkIwNTo1ODZBREU6NzVCMjdCOjZBNTNFQjU0IiwidmlzaXRvcl9pZCI6IjMzMDU3NjI4NjQwOTk0ODY1NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0b95fc0b40eb3056a2b8976123886bb9f4012d461a2ee4f9b32cf8be94fbd7c5
hovercard-subject-tagrepository:123114865
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md
twitter:imagehttps://opengraph.githubassets.com/4746c90dff85634b6616b111037bdcc7974dbfdf86ad13d2f1deb85c51911e26/XGCoder/InterviewNotes
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4746c90dff85634b6616b111037bdcc7974dbfdf86ad13d2f1deb85c51911e26/XGCoder/InterviewNotes
og:image:alt :books: 计算机基础知识整理,持续更新中~. Contribute to XGCoder/InterviewNotes development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/XGCoder/InterviewNotes git https://github.com/XGCoder/InterviewNotes.git
octolytics-dimension-user_id9263032
octolytics-dimension-user_loginXGCoder
octolytics-dimension-repository_id123114865
octolytics-dimension-repository_nwoXGCoder/InterviewNotes
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id121395510
octolytics-dimension-repository_parent_nwoCyC2018/CS-Notes
octolytics-dimension-repository_network_root_id121395510
octolytics-dimension-repository_network_root_nwoCyC2018/CS-Notes
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FXGCoder%2FInterviewNotes%2Fblob%2Fmaster%2Fnotes%2FJava%2520IO.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FXGCoder%2FInterviewNotes%2Fblob%2Fmaster%2Fnotes%2FJava%2520IO.md
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=XGCoder%2FInterviewNotes
Reloadhttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md
Reloadhttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md
Reloadhttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md
XGCoder https://github.com/XGCoder
InterviewNoteshttps://github.com/XGCoder/InterviewNotes
CyC2018/CS-Noteshttps://github.com/CyC2018/CS-Notes
Notifications https://github.com/login?return_to=%2FXGCoder%2FInterviewNotes
Fork 1 https://github.com/login?return_to=%2FXGCoder%2FInterviewNotes
Star 1 https://github.com/login?return_to=%2FXGCoder%2FInterviewNotes
Code https://github.com/XGCoder/InterviewNotes
Pull requests 0 https://github.com/XGCoder/InterviewNotes/pulls
Actions https://github.com/XGCoder/InterviewNotes/actions
Projects https://github.com/XGCoder/InterviewNotes/projects
Wiki https://github.com/XGCoder/InterviewNotes/wiki
Security and quality 0 https://github.com/XGCoder/InterviewNotes/security
Insights https://github.com/XGCoder/InterviewNotes/pulse
Code https://github.com/XGCoder/InterviewNotes
Pull requests https://github.com/XGCoder/InterviewNotes/pulls
Actions https://github.com/XGCoder/InterviewNotes/actions
Projects https://github.com/XGCoder/InterviewNotes/projects
Wiki https://github.com/XGCoder/InterviewNotes/wiki
Security and quality https://github.com/XGCoder/InterviewNotes/security
Insights https://github.com/XGCoder/InterviewNotes/pulse
https://github.com/XGCoder/InterviewNotes
InterviewNoteshttps://github.com/XGCoder/InterviewNotes/tree/master
noteshttps://github.com/XGCoder/InterviewNotes/tree/master/notes
Historyhttps://github.com/XGCoder/InterviewNotes/commits/master/notes/Java%20IO.md
https://github.com/XGCoder/InterviewNotes/commits/master/notes/Java%20IO.md
InterviewNoteshttps://github.com/XGCoder/InterviewNotes/tree/master
noteshttps://github.com/XGCoder/InterviewNotes/tree/master/notes
Rawhttps://github.com/XGCoder/InterviewNotes/raw/refs/heads/master/notes/Java%20IO.md
概览https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#%E6%A6%82%E8%A7%88
磁盘操作https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#%E7%A3%81%E7%9B%98%E6%93%8D%E4%BD%9C
字节操作https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#%E5%AD%97%E8%8A%82%E6%93%8D%E4%BD%9C
字符操作https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#%E5%AD%97%E7%AC%A6%E6%93%8D%E4%BD%9C
对象操作https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#%E5%AF%B9%E8%B1%A1%E6%93%8D%E4%BD%9C
网络操作https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#%E7%BD%91%E7%BB%9C%E6%93%8D%E4%BD%9C
1. InetAddresshttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#1-inetaddress
2. URLhttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#2-url
3. Socketshttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#3-sockets
4. Datagramhttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#4-datagram
NIOhttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#nio
1. 流与块https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#1-%E6%B5%81%E4%B8%8E%E5%9D%97
2. 通道与缓冲区https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#2-%E9%80%9A%E9%81%93%E4%B8%8E%E7%BC%93%E5%86%B2%E5%8C%BA
2.1 通道https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#21-%E9%80%9A%E9%81%93
2.2 缓冲区https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#22-%E7%BC%93%E5%86%B2%E5%8C%BA
3. 缓冲区状态变量https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#3-%E7%BC%93%E5%86%B2%E5%8C%BA%E7%8A%B6%E6%80%81%E5%8F%98%E9%87%8F
4. 读写文件实例https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#4-%E8%AF%BB%E5%86%99%E6%96%87%E4%BB%B6%E5%AE%9E%E4%BE%8B
5. 阻塞与非阻塞https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#5-%E9%98%BB%E5%A1%9E%E4%B8%8E%E9%9D%9E%E9%98%BB%E5%A1%9E
5.1 阻塞式 I/Ohttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#51-%E9%98%BB%E5%A1%9E%E5%BC%8F-io
5.2 非阻塞式 I/Ohttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#52-%E9%9D%9E%E9%98%BB%E5%A1%9E%E5%BC%8F-io
6. 套接字实例https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#6-%E5%A5%97%E6%8E%A5%E5%AD%97%E5%AE%9E%E4%BE%8B
6.1 ServerSocketChannelhttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#61-serversocketchannel
6.2 Selectorshttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#62-selectors
6.3 主循环https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#63-%E4%B8%BB%E5%BE%AA%E7%8E%AF
6.4 监听新连接https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#64-%E7%9B%91%E5%90%AC%E6%96%B0%E8%BF%9E%E6%8E%A5
6.5 接受新的连接https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#65-%E6%8E%A5%E5%8F%97%E6%96%B0%E7%9A%84%E8%BF%9E%E6%8E%A5
6.6 删除处理过的 SelectionKeyhttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#66-%E5%88%A0%E9%99%A4%E5%A4%84%E7%90%86%E8%BF%87%E7%9A%84-selectionkey
6.7 传入的 I/Ohttps://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#67-%E4%BC%A0%E5%85%A5%E7%9A%84-io
参考资料https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#概览
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#磁盘操作
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#字节操作
https://github.com/CyC2018/InterviewNotes/blob/master/pics/8143787f-12eb-46ea-9bc3-c66d22d35285.jpg
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#字符操作
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#对象操作
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#网络操作
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#1-inetaddress
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#2-url
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#3-sockets
https://github.com/CyC2018/InterviewNotes/blob/master/pics/fa4101d7-19ce-4a69-a84f-20bbe64320e5.jpg
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#4-datagram
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#nio
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#1-流与块
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#2-通道与缓冲区
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#21-通道
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#22-缓冲区
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#3-缓冲区状态变量
https://github.com/CyC2018/InterviewNotes/blob/master/pics/1bea398f-17a7-4f67-a90b-9e2d243eaa9a.png
https://github.com/CyC2018/InterviewNotes/blob/master/pics/4628274c-25b6-4053-97cf-d1239b44c43d.png
https://github.com/CyC2018/InterviewNotes/blob/master/pics/952e06bd-5a65-4cab-82e4-dd1536462f38.png
https://github.com/CyC2018/InterviewNotes/blob/master/pics/b5bdcbe2-b958-4aef-9151-6ad963cb28b4.png
https://github.com/CyC2018/InterviewNotes/blob/master/pics/67bf5487-c45d-49b6-b9c0-a058d8c68902.png
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#4-读写文件实例
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#5-阻塞与非阻塞
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#51-阻塞式-io
https://github.com/CyC2018/InterviewNotes/blob/master/pics/edc23f99-c46c-4200-b64e-07516828720d.jpg
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#52-非阻塞式-io
https://github.com/CyC2018/InterviewNotes/blob/master/pics/7fcb2fb0-2cd9-4396-bc2d-282becf963c3.jpg
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#6-套接字实例
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#61-serversocketchannel
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#62-selectors
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#63-主循环
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#64-监听新连接
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#65-接受新的连接
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#66-删除处理过的-selectionkey
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#67-传入的-io
https://github.com/XGCoder/InterviewNotes/blob/master/notes/Java IO.md#参考资料
IBM: NIO 入门https://www.ibm.com/developerworks/cn/education/java/j-nio/j-nio.html
深入分析 Java I/O 的工作机制 https://www.ibm.com/developerworks/cn/java/j-lo-javaio/index.html
NIO 与传统 IO 的区别 http://blog.csdn.net/shimiso/article/details/24990499
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.