首先,要准备资源包属性文件。
在该实例中,需要三个属性文件。
清单1显示了用于英语的属性文件。
用户提供的信息存储在属性文件中。
The information provided by the user is saved in the properties file.
每个部署环境的登录属性文件。
清单11:样本路由属性文件。
从英语应用程序创建属性文件。
创建属性文件及其NLS变体。
清单8显示了该属性文件的一个版本。
您可以手动编辑该属性文件。
该提供程序配置属性文件包含实现类。
This provider configuration properties file includes the implementation classes.
用翻译好的属性文件构建语言应用程序。
Build the language applications with well-translated properties files.
资源属性文件很容易编辑。
在属性文件中,仅提取可翻译的字符串。
In properties files, only the latter translatable strings are resourced out for translation.
在属性文件中指定时不对此密码进行加密。
This password is not encrypted when specified in the properties file.
属性文件可以包含以下属性
清单7展示了用于OTMPS的属性文件。
从上载的项目中选择属性文件,如图5所示。
Select the properties files from your project for upload, as shown in Figure 5.
标识映射使用属性文件来确定映射的用户标识。
The identity mapping uses a properties file to determine the mapped user identity.
清单3演示了用XML表示的同一个属性文件。
Listing 3 demonstrates the XML representation of the same properties file.
在门户属性文件中定义的设置适用于整个安装。
The settings which are defined in the portal properties files apply for the entire installation.
属性文件域:存储在磁盘上属性文件中的凭据。
Properties file realm: Credentials stored in properties files on disk.
属性文件(可选)。
创建一个属性文件,使其包含实现类和配置数据。
Create a properties file to include the implementation classes and the configuration data.
然后选择需要用于生成属性文件的源英语数据库。
Then select the source English database from which you want to generate a properties file.
属性文件以文本格式保存用户名、密码和用户角色。
The properties file stored usernames, passwords, and user roles in text format.
使用相同名称让定制rds属性文件变得更加容易。
Using the same name makes it easier to automatically customize the RDS property file.
资源属性文件的内容是一些键-值对(参见清单2)。
The content of a resource property file is key-value pair (see Listing 2).
该方法将从属性文件提取所有要显示的文本。
The method extracts all the displayed text from the properties files.
证书属性文件域:使用磁盘上的数字证书和属性文件。
Certificate properties file realm: Uses digital certificates and properties files on disk.
应用推荐