script executes all commands specified in a resource file.
script 会执行源文件中的所有命令。
You wouldn't want the image binaries to reside in every resource file!
您不会希望图像的二进制文件存储在每一个资源文件中!
You could use any binary editor or Nokia JSR-238 RI to create the resource file.
可以使用任何一种二进制文件编辑器或者NokiaJSR- 238RI创建资源文件。
Figure 3 shows a skimmed-down example of the XML data found inside a resource file.
图3展示了在一个资源文件中XML数据的一个缩减样本的示例。
To retrieve the string and image from the resource file, you need to do the following.
为了从资源文件检索字符串和图片,您需要执行下列步骤。
Adds an existing resource file to this assembly.
向此程序集添加现有资源文件。
The resource file contains XML, which you can edit.
该资源文件包含可对其进行编辑的XML。
The resource file is compiled into the test assembly.
该资源文件将编译为测试程序集。
The resource file would be opened and closed many times.
资源文件将多次被打开和关闭。
The binary resource file has a strict format to follow (refer to the JSR-238 specification).
二进制的资源文件必须遵守严格的格式。 (参考JSR-238规范)。
They install a customized theme that USES this resource file to define the colors and the fonts.
这几行代码建立了一个定制的主题,该主题的颜色和字体是以外部文件定义的。
We'll be using a resource bundle, so let's create the resource file first by doing the following.
我们后面将要使用一个资源包,所以我们先依照下面的步骤来创建一个资源包。
They first read in the resource file the name and size of the font to be used (lines 64 through 70).
这些代码首先从资源文件中读出要使用的字体的名称和大小(第64行到第70行)。
Lines 9 through 16 load the external resource file that defines the properties of the look and feel.
第9行到第16行是装载定义了该lookand feel的一些属性的外部资源文件。
Gets or sets the path of the resource file that contains message parameter strings for the source.
获取或设置资源文件的路径,该文件包含源的消息参数字符串。
To do this you need to create a separate resource file for each spoken language that you need to support.
为此,您需要为要支持的每种语言创建单独的资源文件。
As you can see, accessing strings from a resource file using a strongly typed resource class is pretty easy.
正如您看到的,使用强类型资源类访问资源文件中的字符串比较简单。
For demonstration purposes, I have used Nokia JSR-238 RI to generate the binary resource file, as Figure 6 shows.
为演示起见,我使用NokiaJSR- 238RI来创建二进制资源文件,如图6所示。
The value of this property, when set, can be saved automatically to a resource file by using a designer tool.
此属性的值在设置后可使用设计器工具自动存入一个资源文件中。
You can create a new resource file using the Add new Item command and choosing Resources file, as shown in Figure 4.
通过使用AddNewItem命令并选择ResourcesFile,您可以新建一个资源文件,如图4所示。
Storing your data in a resource file allows you to change the data without recompiling your entire application.
若资料储存于资源档中,即允许您变更资料,而不需重新编译整个应用程序。
While the XML fragment in the figure isn't a complete resource file, it gives you a general idea of what's inside one.
尽管图中的XML片段不是完整的资源文件,但可以使您大致了解其内部内容。
It first tries to find the key in the panel resource file, then the page resource file and finally the application resource file.
它首先尝试在面板资源文件中查找关键字,然后是页面资源文件,最后才是应用资源文件。
To begin localization, you make multiple copies of resource files-one copy of each resource file for each language you want to support.
要开始本地化,需要制作多个资源文件的副本 -对于要支持的每种语言,每个资源文件一个副本。
Then they overwrite the getter methods of DefaultMetalTheme so that the font and colors defined in the external resource file are used.
然后重写DefaultMetalTheme的getter方法,以便使用在外部资源文件中定义的颜色和字体。
Lines 22 through 53 modify the UIDefaults of the look and feel to magnify the standard ICONS by a factor defined in the external resource file.
第22行到第53行修改了该lookandfeel的UIDefaults,以便通过在外部资源文件中定义的一个缩放比例来放大标准图标。
When you change some values of the resource file, and then restart Rational Functional Tester, you can see changed values in the test object map.
当您更改资源文件的一些值时,然后重启RationalFunctionalTester,在测试对象图中您可以看到更改的值。
Open the test object map, and then change the property values that are GUI display values to key names of the resource file, as shown in Figure 14.
打开测试对象图,然后将作为GUI显示值的属性值更改为资源文件的密钥名字,如图14所示。
When a resource file is included in the definition file, the file path to the included file should be relative to the location of the definition file.
当定义文件包含一个资源文件时,资源文件的文件路径必须相对于定义文件的位置。
When a resource file is included in the definition file, the file path to the included file should be relative to the location of the definition file.
当定义文件包含一个资源文件时,资源文件的文件路径必须相对于定义文件的位置。
应用推荐