|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/explore-java-io/
课程评论:没有评论
课程名称:探索Java IO 课程概述:Java输入输出操作在日常编程任务中至关重要。无论你在开发哪种Java应用程序,处理Java IO几乎是不可避免的。许多开发者在Java IO方面感到沮丧,因为Java平台提供了许多类供使用者处理文件和IO相关的操作。很多时候,这是因为我们不清楚应该使用哪些类来完成特定的任务。本课程旨在通过从基本的概念入手,帮助你摆脱这种困惑,内容包括:什么是文件?什么是路径?路径的不同类型?文件编码是什么?ASCII与Unicode的区别等。此外,课程还将涵盖高性能IO操作所需的高级技术,如缓冲区、通道、翻转、清空缓冲区、分散读取和聚集写入。每个复杂的概念都将逐步清晰解释,并结合代码和视觉表示,以帮助你理解。 课程分为两个主要部分:第一部分讨论流模型,包括: - 随机访问文件与RandomAccessFile - 二进制流与FileInputStream/FileOutputStream - 字符流与FileReader/FileWriter/BufferedReader/BufferedWriter/PrintWriter - 对象流/序列化与ObjectInputStream/ObjectOutputStream 第二部分将讨论NIO库,内容包括: - 缓冲区与通道 - 翻转与重绕 - 翻转与清空 - 清空与压缩 - 标记与重置 - 分散读取与聚集写入 通过本课程,学员将全面掌握Java IO的基本概念及高级技巧,为以后的开发工作打下坚实的基础。
Java Input Output manipulations are essential in Java daily programming tasks. No matters what kind of Java applications you are working on, dealing with Java IO is almost inevitable. People usually get frustrated with Java IO since there are so many classes in Java Platform that they can use to work with files in particular and in IO in general. That's because we do not understand which classes should be used for which tasks. This course is designed to help you to get rid of the frustration by demonstrating from very basic but crucial concepts such as what is file? what is path? Different path types? what is file encoding? Differences between ASCII and Unicode?, and so on. to advanced techniques required for high performance IO operations such as buffers, channels, flipping, clearing buffers, scattering read, and gathering write. Each complicated concept is clearly explained step by step with code as well as visual representation so that you can catch up with the ideas. The course is divided into 2 main sections: The first section will discuss about Stream model: Random access files withe RandomAccessFileBinary Streams with FileInputStream/FileOutputStreamCharacter Streams with FileReader/FileWriter/BufferredReader/BufferedWriter/PrintWriterObject Streams/Serialization with ObjectInputStream/ObjectOutputStream The second section will be time to discuss about NIO library. Topics will be mentioned including: Buffers - ChannelsFlipping vs. RewindingFlipping vs. ClearingClearing vs. CompactingMarking and ResetingScattering Read - Gathering Write