然后您可以让您的测试自动化读取、解析和使用该文件中的数据。
Then you could have your test automation read, parse, and use the data in this file.
在这种情况中,您需要使用一种方法来正确读取数据文件。
In that case, you need a way to read in the data files correctly.
您的转换将采用两个文件之一作为其主要输入,并将使用内容标记来将第二个文件读取、分析和加载到内存中。
Your transform will take one of the two files as its primary input, and will use the content tag to read, parse, and load into memory the second file.
假定您已经编写了一个文本编辑器;它提供了访问、读取、修改单独文件以及将它们写回到存储器的方法。
Suppose you have written a text editor; it provides means for accessing individual files, reading them, modifying them, and writing them back to storage.
除您之外的某个人可以编写脚本来读取这些文件,因此可以尝试从会话中取出值。
Someone other than you can write a script that reads these files so they can try to get values out of the session.
我将带您完成下载并使用ecs库开发一个示例应用程序的过程,这个应用程序可以读取不同的日志文件,并用它们生成html格式的状态报告。
I'll walk you through the process of downloading and using the ECS libraries to develop a sample application that can read various log files and generate a status report in HTML format from them.
现在读取您的响应的浏览器(或其他代码)就可以发现所服务的VXML文件了。
Now browsers (or other code) reading your response can discover the VXML file that was served.
要读取DB2跟踪文件,您只需要提供用于读取跟踪文件格式(而不是XML 格式)的自定义实现。
To read the DB2 trace files, you only need to provide the custom implementation that reads the trace file format, not the XMI format.
pl 程序根据所匹配的关键字的位置,为您希望混合的声音文件读取指定的配置文件(默认情况下是 emailMixer.config)。
The emailMixer.pl program reads the specified config file (emailMixer.config by default) for the sound files you wish to mix, depending on the location of a keyword match.
(请注意:Zope只在启动时读取Product文件,这意味着为了测试,您必须能够停止和重新启动 Zope进程)。
Note that Zope only reads Product files at startup, meaning that for testing you must be able to stop and restart the Zope process.
如果您希望让该计算机上其他的用户可以读取您的文件,可以为所有的三类用户设置读权限。
If you want to let everyone else on your computer read one of your files, enable the read permission for all three constituencies.
RFHUtil允许您从/对文件或者队列读取/写入数据,并采用各种不同的格式来显示数据。
RFHUtil lets you read and write data from and to files or queues, and display data in a variety of formats.
当其他用户下载您的rpm时,rpm实用程序读取spec文件并根据预先编写的指令安装包。
When another user downloads your RPM, the RPM utility reads the spec file and installs the package per your prewritten instructions.
JiBX读取绑定定义文件以控制它添加到您类中的代码如何在实例和XML之间进行相互转换。
JiBX reads a binding definition file to control how the code it adds to your classes converts instances to and from XML.
如果您现在尝试读取一个缺少强制值的配置文件,XJConf将抛出MissingAttributeException异常(参见图1)。
If you now try to read a configuration file which is missing a required value, XJConf will throw a MissingAttributeException (Figure 1).
在阅读完本文之后,您应该了解了NIO从基本的get和put操作到读取内存映射文件方面的知识。
After reading this article, you should understand NIO, from basic get and put operations to reading a memory-mapped file.
无论怎样读取文件,您都可以使用fpassthru 将其余数据转储到标准输出通道。
No matter how you've been reading your file, you can dump the rest of your data to your standard output channel using fpassthru.
read函数返回读取的字节数(最高为您指定的最大值);或者 -1,表示错误;或者0,如果已经到达文件末尾。
The read function returns the number of bytes read (up to the maximum that you specify), -1 on error, or zero if the end of the file has been reached.
要读取DB2跟踪格式,您需要为DB 2跟踪文件格式提供解析器(领域特定语言)。
To read the DB2 trace format, you must provide the parser for the DB2 trace file format (the domain specific language). Two of the options you have are.
您使用nohup来在后台运行命令,并使用source(.)从文件运行读取命令,并在当前的shell中运行这些命令。
You use nohup to run a command in the background, and you use source (.) to run read commands from a file and run them in the current shell.
curl- n命令强制curl读取您的.netrc文件。
这行代码将创建一个与以上页面的连接,并允许您开始像读取一个本地文件一样读取它。
This line of code creates a connection to the page above and allows you to start reading it much like a local file.
如您所预料的,第一个子例程读取XML文件,返回一个引用。
As you might expect, the first reads an XML file, returning a reference.
您可以直接将数据导入测试环境里,将它读入到数据文件中用于后面的处理,或者实时地读取它,并按照您所的需要的他们进行转换。
You can load the data straight into the test environment, read it into data files for processing later, or read it in real time and convert it as you use it.
如果您的应用程序将一些内容写到一个文件,很可能某个用户或应用程序会采用其他语言来读取文件。
If your application is writing something to a file, it's likely that at some point either the user will read it, or some application in another language will read it.
您所丢弃的邮件将从该文件中删除;并且当您读取一条新的消息时,将会更改并重写已有的消息状态字段。
Mail you discard is deleted from the file; and when you read a new message, the status field of the message is changed and rewritten in place.
借助几个便捷的开源库,您的应用程序就可以读取任何操作系统上的DXF和DWG文件,并且不产生任何成本。
Using a few handy open source libraries, you can make your applications able to natively read DXF and DWG files on any operating system at no cost.
当文件的内容定期改变、或您定期读取各种各样的文件时,缓存文件信息可能不会实现任何性能收益。
When the contents of the files are regularly changing, or you are regularly reading a wide variety of files, caching the file information may not achieve any performance benefits.
文件就绪后,清单2中显示的头部将被发送,然后,您需要读取这个临时文件中的内容并输出这些内容。
When the file is ready, the same headers as in Listing 2 are sent, and then you need to read in the temporary file's contents and print them.
您应该更加小心地使用这个文件夹,因为从理论上说,它包含了真实的电子邮件,并且对于任何可以将电子邮件写入到该文件夹的用户来说,也有可能读取其中的电子邮件。
You should be more careful with this folder, as it theoretically contains genuine e-mail, and any user that can write e-mails to the folder can also potentially read them.
应用推荐