文本过滤指的是这样一个过程:获得文本的输入流,并在将文本发送给输出流之前对文本执行一些转换。
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.
通过文本实用过滤器发送文本文件和输出流,以修改输出。
Sending text files and output streams through text utility filters to modify the output.
Stripper是SAX过滤器的一个良好示例,这是以SAX事件流作为输入,并生成另一个SAX事件流作为输出的一段代码。
The Stripper is a good example of a SAX filter, a piece of code that takes a stream of SAX events as input and produces another stream of SAX events as output.
应用推荐