outputstream

  • 网络输出流
outputstreamoutputstream
  1. Once buffered , the file data is written through the output . write () method into the socket of the OutputStream object .

    进行缓冲之后,output.write()方法将文件数据写入到OutputStream对象的套接字中。

  2. This wakes the TxThread , which writes the command to the OutputStream connected to the gdb process .

    这会唤醒TxThread,它将命令写入与gdb进程连接的OutputStream中。

  3. After executing the query , you loop through the result set ( which should only contain a single result ) and write that result to the OutputStream of the servlet .

    在执行完查询后,循环结果集(应该只包含一个结果)并将该结果写入这个servlet的OutputStream中。

  4. We simply use the writeXML method , which can take in either an OutputStream object ( if we want to write in bytes ) or a Writer object ( if we want to write in characters ) .

    我们只需使用writeXML方法即可,它既可以接受OutputStream对象(如果我们以二进制字节写入),也可以接受Writer对象(如果我们用字符写入)。