问题1.缺少必要的属性文件。
转换的属性文件有一个语言扩展名。
以下是一个属性文件的样例项。
创建Hibernate属性文件。
这些错误消息也可以包含在属性文件中。
These error messages can also be contained in the property file.
您需要传递属性文件作为此工具的输入。
You need to pass a properties file as an input to this tool.
现在可以定义对应该接口的属性文件了。
Now you can create a properties file corresponding to this interface.
第 2步:创建属性文件
要创建属性文件域,需要完成以下工作。
一个样例日志记录属性文件在本文中提供。
A sample logging properties file is supplied with this article.
这两个工具都可以通过属性文件进行配置。
代码3:作业属性文件。
请您确认为报表语言使用了正确的属性文件。
Make sure you use the correct properties file for your reporting language.
此配置模型的一个常见示例是使用属性文件。
A common example of this configuration model is the usage of the properties file.
而属性文件则小得多,因为它们是文本文件。
Property files are much smaller because they are text files.
这些设置是从属性文件读取的。
首先,我们来查看属性文件中的名称-值对。
First, let's have a look at the name-value pairs in the properties file.
这是因为我们在上面指定的属性文件尚未创建。
This is because the properties file we specified above has not yet been created.
这个属性文件被读入内存中,控制案例的行为。
The property file is read into memory and controls the behavior of the case.
确认属性文件和您的报表语言相匹配。
Make sure the property file match matches your reporting language. Edit the following file.
属性在属性文件内定义,然后存储在文件系统中。
You define them within the properties file, which you then store within the file system.
使用一个提供应用程序名称的键值对更新属性文件。
Update the properties file with an application name key-value pair.
通过URL位置,您可以打开读属性文件的流。
With the URL location, you can open a stream to read the properties file.
这是一个带有3个条目的属性文件,如清单2所示。
This is a properties file with three entries, as shown in Listing 2.
装在文件系统上的扩展属性文件已损坏。
The extended attribute file on the mounted file system is corrupt.
为了保存每个惟一实例,需要管理一个附加属性文件。
In order to accommodate each unique instance, you need to manage an additional properties file.
考虑一个简单的场景,属性文件的价值就会变得很清楚。
The value of the properties file becomes clear when you consider a simple scenario.
例如,不要将属性文件、类文件或其他重要信息放在那里。
For example, don't put property files, class files, or other important information there.
先来看一个带有两个属性的简单属性文件,如清单1所示。
Begin with a simple properties file with two properties, as shown in Listing 1.
先来看一个带有两个属性的简单属性文件,如清单1所示。
Begin with a simple properties file with two properties, as shown in Listing 1.
应用推荐