For example, if you simply parse all of the source files for a program, you can ensure that the source code adheres to a predefined coding standard.
举例来说,如果您简单地对所有源文件执行语法分析程序,那么您就可以确保源代码遵守预定义的编码标准。
The next step is to read and parse the log files to gather the information you need.
下一步是读取并解析日志文件以收集所需要的信息。
Bytecode Transformers: These annotation handlers parse the class files with Annotations and emit modified classes and newly generated classes.
字节码转换:这些注解处理器解析带有注解的类文件并释放出修改过的类和新产生的类。
But what if all you have to parse is a comma-separated value file, or a series of space-delimited text files?
但如果要解析的是逗号分隔值文件,或空格分隔文本文件,又怎么办呢?
You'll need this later to parse and process the contents of these individual files.
稍后需要使用此表解析和处理这些独特的文件。
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.
您的转换将采用两个文件之一作为其主要输入,并将使用内容标记来将第二个文件读取、分析和加载到内存中。
See Resources for another article within the System Administration Toolkit that contains information on how to parse these files.
有关系统管理工具包中包含的介绍如何分析这些文件的其他文章,请参阅参考资料。
Other techniques to conserve bandwidths include: caching techniques to speed up page loads, optimizing time to parse text-formatted XML files, and compiling XML files as a binary file (unreadable).
其他节省带宽的技术包括:加速页面加载的缓存技术、优化解析文本格式的XML文件的时间,以及将XML文件编译成二进制文件(不可读的)。
Again, it is trivial to parse those files with regular expressions.
用正则表达式解析这些文件同样没有什么大不了的。
This feature is valuable when you need to parse XML files over 1 GB; you have only a small set of files and an abundance of processors.
当您需要解析超过1GB 的XML文件时,该功能很有价值;您只有一小部分文件而有许多处理器。
So what if it takes an extra few milliseconds to look up your stock reports or parse those log files?
因此多花几个毫秒来查询股票价格或处理日志文件又有什么关系呢?
Typically, you parse the contents of the XML files that make up the feed information and then print out that information in a format that suits you.
通常可以解析组成提要信息的XML文件的内容,然后用合适的格式打印出该信息。
Clients then use some scheme to transfer these files into local storage, and you can use dom4j to parse and modify the file data.
客户机随后使用某种模式将这些文件传递到本地存储中,然后您可以使用dom 4j解析并修改文件数据。
XML parsers are very commonplace in all modern programming languages, so applications that are written to interact with Web services do not need to parse the raw XML files directly.
在所有现代编程语言中,xml解析器是很常见的,因此为Web服务编写的应用程序不必直接解析原始xml文件。
CSV is the ruby module that deals with CSV files. It has methods to create, read and parse such files.
csv是负责处理csv文件的Ruby模块,它拥有创建、读取和解析csv文件的方法。
The configuration in web.xml defines the QuercusServlet object to parse PHP files.
xml中的配置定义了解析php文件的QuercusServlet对象。
This example shows how easy and simple it is to parse XML files with REXML and Ruby.
这个示例展示了使用 REXML和 Ruby解析XML文件有多么简单!
In addition, since the published script is HTML, you can now parse your test scripts using a scripting language (this is not really an option with the traditional.rmt files).
此外,既然发布的脚本是HTML格式,您就能够利用一个脚本语言来解析您的测试脚本(用传统的。rmt文件是不能这样做的)。
If you can successfully parse a Web page, you can identify links to other resources. Some specify local resources (files), but others represent non-local resources (such as links to other Web pages).
如果可以成功解析web页面,就可以确定到其他资源的链接,这些链接有些指定的是本地资源(文件),而有些则会代表非本地的资源(例如到其他web页面的链接)。
Listing 7 shows how to associate files with an extension of forummodel to be in XMI format, then use the EMF's ResourceSet to parse and load our forum model.
清单7展示了如何给文件关联一个符合xmi格式的扩展名“forummodel”,然后用EMF的ResourceSet解析并加载forum模型。
This returns each files element, but you must parse one step further to get the owner, action, and age elements.
这将返回所有的files元素,但必须进行进一步的解析以获得owner、action和age元素。
You can parse entire PHP-style .ini files in a single command using parse_ini_file.
您可以在一条命令中使用 parse_ini_file解析整个 PHP 样式的.ini文件。
In the previous job, the input, parser and output steps are used to parse multiple XML files into relational records. The following steps describe how to create the assembly.
在以前的作业中,输入、解析和输出用于将多个XML文件解析为关系记录。
Doing so ensures that I can parse the directory structure and read the target files.
这样做是为了保证能够正确地解析目录结构并读取目标文件。
To get a list of all the files for a particular user, the programmer must first read the row from the users table, then parse the file's text and run an individual SELECT statement for each file.
要得到一个特定用户的所有文件的列表,程序员必须首先从用户表中读取行,然后解析文件的文本,并为每个文件运行一个单独的SELECT语句。
Of course, if you actually want to parse your files, the single string that file_get_contents returns might be a bit overwhelming.
当然,如果确实需要解析文件,则file_get _ contents返回的单个字符串可能有些让人吃不消。
I've decided on using a different method for attaching files to models in parse by simply associating the file's URL string once uploaded to a column on the class.
我决定使用不同的方法将文件附加到模型解析通过关联文件的UR L字符串一旦上传一个列的类。
We parse the XML files beforehand to create indexes of content, and then search the indexes. 4.
检索过程中首先对XML描述文件进行预解析,建立动态的内容索引,然后对索引进行检索。
We parse the XML files beforehand to create indexes of content, and then search the indexes. 4.
检索过程中首先对XML描述文件进行预解析,建立动态的内容索引,然后对索引进行检索。
应用推荐