So, trying to read a file could cause errors.
因此,试图读取一个文件可能会出错。
To read a file, the file must first be opened.
要读取一个文件,文件必须首先被打开。
Of course, the above functions only allow you to read a file in order.
当然,以上函数只允许顺序读取文件。
When a program tries to read a file, small portions of that file are read from several disks in parallel.
当一个程序试图读取某个文件时,可以并行地从多块磁盘上分别读取这个文件的某些部分。
Instead of IO, where you could read a file and write a file, ABC's designers decided to just have global variables in the program.
ABC的设计者放弃了用来读写文件的IO的方法,他们转而在程序里使用一些全局变量。
We saw how to open and read a file in Section 9.1.
在9.1的时候我们就看到过如何打开和读取一个文件了。
Unable to create, write or read a file as expected.
无法按预期创建、写入或读取文件。
In the file poller implementation we just read a file from the file system and send the received file to the Mail service endpoint.
在这个文件轮询器配置中,我们仅仅从文件系统读取文件,然后把收到的文件发送给邮件服务端点。
You will use the RFHUTIL utility program to read a file from a text file and send the data as a message to the EXPORTQ local queue managed by the queue manager QMGR900.
您将使用RFHUTIL实用程序从文本文件中读取文件,并将数据作为消息发送给由队列管理器QMGR900管理的EXPORTQ本地队列。
XML::Simple generally has sensible defaults, so that for example if you specify no input file name, a Perl program named part1.pl (as in Listing 4) will read a file called part1.xml.
Simple有一些合理的默认设置,例如如果没有指定输入文件名,那么Perl程序part1.pl(清单4)将读取文件part1.xml。
As we've explained at the beginning of this section we want to read a file from the file system and use ServiceMix to send an E-mail message using the file contents to a certain E-mail address.
我们在本节一开始就已经说过,我们要从文件系统中读取一个文件,然后使用ServiceMix把包含文件内容的电子邮件消息发送到某个电子邮件地址。
As we've explained at the beginning of this section we want to read a file from the file system and use ServiceMix to send an E-mail message using the file contents to a certain E-mail address.
我们在本节一开始就已经说过,我们要从文件系统中读取一个文件,然后使用ServiceMix把包含文件内容的电子邮件消息发送到某个电子邮件地址。
应用推荐