在Java中,根据处理的数据单位不同,分为字节流和字符流。
字符流(character stream):一个或多个字符读/写。 处理数据的方式(直接或者间接) 节点流(Node Stream):直接对数据源进行读/写操作的流。
基于396个网页-相关网页
IO 分类: 按流的方向分为:输入流和输出流 按流的数据单位不同分为:字节流(Stream)和字符流(Reader Writer ) 按流的功能不同分为:节点流(可以从或向一个特定的地方(节点)读写数据。
基于64个网页-相关网页
·2,447,543篇论文数据,部分数据来源于NoteExpress
所获得的数据是一个字符流,这个多字符流附加在String中。
The data obtained is a stream of characters, which are appended in a String.
读取器/写入器有性能开销,因为它们旨在用于字符流,且会在后台将数据编码为字节。
There is a performance overhead involved with readers/writers because they are intended for character streams, and they encode data to bytes under the covers.
在上面这个例子中,cat命令从它自身的标准输入处,接受了从脚本文件中传递过来的输入字符流。
In the case of the script above, the cat command was given a stream of input from our script to its standard input.
应用推荐