The bundle file: .bundle (plug-in file)
打包文件:.bundle(插件文件)
The "bundle base name" is the name of the bundle file minus the locale specifier and extension (in the example above, the bundle base name is messages).
“绑定包的名称”是绑定包文件的名称减去语言环境符号和扩展名(在上面的示例中,绑定包的名称是messages)。
Once the bundle file is loaded, dojo.i18n.getLocalization() is used to get a JSON object that can be used directly in source code to get localized messages.
一旦加载了绑定文件,就使用dojo.i18n.getLocalization()来获得JSON 对象,该 JSON对象可直接用于源代码以便获得本地化的消息。
Loading properties from a resource bundle is an architecture - and platform-independent way of loading a properties file.
从资源束装入特性是一种与体系结构和平台无关的装入特性文件的方式。
The EAR file becomes an enterprise bundle archive (EBA).
EAR文件成为一个企业捆绑包存档文件(EAR)。
Compression in general has many benefits, either related to the smaller file size or the ability to bundle several files into one archive file.
压缩通常有很多好处,可以缩小文件大小,也可以把若干个文件绑定为一个归档文件。
Bundle all this stuff into an EAR file and you've got yourself a Web service of the original application.
将这些材料打包成一个EAR文件,您就得到了原始的应用程序的Web服务。
Note: When creating custom fixture classes, be sure to bundle them into a.jar file using your favorite build tool.
注意:当创建自定义fixture类时,一定要使用您喜欢的构建工具将它们捆绑为一个.jar文件。
Because when you refer to ICONS in the plugin.xml file, you can refer only to ICONS in the same bundle.
因为当您在这个plugin . xml文件中引用这个图标时,您可以仅仅引用相同捆中的图标。
Next, increment the version of your MANIFEST.MF file from 1.0.0 to 1.1.0 by modifying the value of the Bundle version.
接下来,修改Bundle version的值,将MANIFEST .MF文件的版本从1.0.0改为1.1.0。
Loading the file in as a resource bundle has two advantages.
将文件作为资源束装入有两个好处。
A disk image or zip archive that the user opens, then a single file (or bundle) that the user can drag to somewhere such as the Applications folder.
通常是有一个磁盘镜像或zip压缩档,打开后就会出现一个单一文件(或捆绑文件包),你可以直接把它拉到硬盘上某处,如“应用程序”文件夹。
In reality, this simply generates a plugin.properties file (that contains externalized strings) for your plug-in and adds the Bundle-Localization header to your MANIFEST.MF file.
实际上,这样做仅仅是为插件生成一个plugin . properties文件(包含外部化字符串),并把Bundle - Localization文件头添加到MANIFEST . MF文件中。
The OBR file is an XML-based representation of bundle metadata. To be compliant with RooBot, add-ons should be
OBR文件是对捆绑包元数据的基于XML 的表示。
The ZIP file format, introduced in 1989, helps computer users transport large files by removing the empty spaces and redundant information from a file and by packaging multiple files into one bundle.
年引入的ZIP文件格式通过删除文件中的空白空间和冗余信息以及把多个文件打成一个包的方式,帮助计算机用户传输大型文件。
For instance, if you bundle your custom binder within your EJB jar or web application war file, the custom binder will be available only to that particular module.
例如,如果您在EJBjar或web应用程序war文件中绑定了您的自定义绑定器,则该自定义绑定器将仅在特定的模块中可用。
A resource bundle is a group of files, all named the same, in which each file is applicable for a specific locale.
一个资源包是命名相同的一组文件,其中的每个文件都适用于特定的一个本地语言环境。
The possibilities for this class are vast, but the most immediate use is to bundle CSS directly with your application file.
这个类的用途很广泛,但是最直接的应用可能还是将CSS与其他程序文件一块打包使用。
The ODFDOM document is represented by a bundle of named resources compressed into a package, which is the biggest difference between it and other document file formats.
OD f文档由一组命名的资源表示,这些资源组成一个包,这是ODF与其他文档文件格式之间最大的差异。
Youe'll use the WPS tag or resource bundle to get the strings into the LP file.
您将使用WPS标记或资源包来将这些字符串获取到LP文件中。
In addition, it contains a file — the manifest — that describes the bundle.
此外,它还包含一个manifest文件,用于描述这个bundle。
If roundtripping were perfect, you could simply bundle your original application code into an EAR file with the generated artifacts and you would have yourself a merry little Web service.
如果往返是完美的,您就能够简单地使用生成的构件来将您最初的应用程序代码打包成ear文件,这样您就有了一个可爱的小web服务。
You can change the default messages by creating your own message.properties file and switching out the message resource bundle in the faces context for the specified locale, as shown in Figure 15.
通过创建自己的message .properties文件并断开指定场所的faces上下文中绑定的消息资源,您可以更改默认消息,如图15所示。
The simplest bundle contains purely a manifest file as follows.
最简单的bundle必须在manifest文件中包含如下内容。
The Manifest file also has other information, such as the name of the bundle activator class.
Manifest文件还包含其他信息,如包激活器类的名称等。
Put the OSGi bundle, which is a JAR file, on a Web server.
将OS gi包(该包是一个JAR文件)放在Web服务器上。
You can bundle the portlets that represent your views into a single WAR file.
可以将代表视图的portlet打包到一个WAR文件中。
We'll be using a resource bundle, so let's create the resource file first by doing the following.
我们后面将要使用一个资源包,所以我们先依照下面的步骤来创建一个资源包。
The persistence.xml file in the jpautility bundle is modified to include a transaction-type of JTA instead of resource_local.
jpautility捆绑包中的persistence . xml文件经修改包括一个JTA事务类型,而不包括resource_local。
This file describes your activity bundle, as shown in Listing 7.
此文件描述活动bundle,如清单7 所示。
应用推荐