the input stream associated with the connection is provided to the editorkit「s read() method.
与连接相关联的输入流被提供给editorkit 的read()方法。
text filtering is the process of taking an input stream of text and performing some conversion on the text before sending it to an output stream.
文本过滤指的是这样一个过程:获得文本的输入流,并在将文本发送给输出流之前对文本执行一些转换。
finally (line 7), i use the document builder to parse the input stream and construct the document representation.
最后(第 7行),我使用文档构建器来对输入流进行语法分析并构造文档表示。
as i indicate in the comments, the first block of code (lines 1-5) in listing 1 handles parsing an input stream to build a document representation.
正如我在注释中指出的,清单1中的第一块代码(第1-5行)处理对输入流的语法分析,以构建文档表示。
the nature of such a tool is to read an arbitrary input stream and determine whether or not it satisfies the grammar.
这种工具的实质是阅读一个任意的输入流并确定其是否符合此语法。
breaks the input stream into a list of tokens.
将输入流分成一列记号。
if it did, wrapper the input stream with a gzip input stream.
如果是,以gzip输入流的形式来包装输入流。
the output stream of the socket becomes the input stream to the server application and vice-versa.
套接字的输出流将成为服务器应用程序的输入流,反之亦然。
otherwise, the original character is placed in the output stream, and the input stream is reset to the original position.
否则,将原来的字符放到输出流中,并且将输入流重置到原始位置。
we want to modify the input stream just before the body of the http message is decoded, but after the headers have been parsed.
我们希望恰好在对http消息体进行解码之前,而在解析了头之后,对输入流进行修改。
then check whether any error occurred on the input stream and, if so, give a message.
然后检查输入流上是否发生错误,若是,则给出消息。
it」s a text editor, but unlike file editors such as ed, it edits the input stream and writes to the output stream.
它是一个文本编辑器,但是与诸如ed等文本编辑器不同,它编辑输入流并写到输出流。
this means as many as 2 kb will be read from the input stream at a time.
这意味着,一次最多从输入流中读入2kb。
if this input stream was called file originally, it should be changed to reflect its new more general nature, perhaps to sourcestream.
如果这一输入流最初叫做file ,那么就应该修改它的名字,以便能反映其新增的更加一般的特性,比方说 sourcestream 。
when trying to parse a number, don't just give up; tell the user what you got, and if possible, what line of the input stream the data was on.
当尝试解析数字时,不要简单地放弃;应该告诉用户您得到了什么数据,而且如果可能的话,还应该告诉用户该数据位于输入流中的哪一行上。