Listing 3 shows the utility class for ECS.
清单3展示了用于ECS的工具类。
XMLConfigurator: a configuration utility class.
XMLConfigurator:配置实用类。
This utility class, for convenience, is shown in Listing 3.
对于这个有效类,为方便起见,在清单3中给出。
The listing shows a utility class that gets used by the unit test.
这个清单给出单元测试使用的实用程序类。
Listing 7 shows how to setup a SAX parser with that same utility class.
清单7展示了如何使用这个相同的实用类来设置一个SAX解析器。
This utility class can have functions for all such keywords or functions.
这个实用程序类可以包含针对所有这类关键字或函数的函数。
It then calls a new method in the DB utility class we have used previously.
然后将在以前使用的DB实用程序类中调用新方法。
It is expedient to create a utility class for these kinds of helper methods.
它有利于为这些种类的助手程序创建有效的类。
The BaseDbProvider provides a utility class for working with MySQL databases.
BaseDbProvider 为使用MySQL数据库提供一个实用程序类。
JNDIREFNAMES is a utility class that holds the values of various types of references.
JNDIREFNAMES是一个实用程序类,它拥有引用的各种类型的值。
For each dynamic service obtained, the corresponding services utility class is invoked.
获得的每个动态服务都将调用对应的服务实用程序类。
XDoclet also generates a utility class used to look up the home and remote interfaces.
XDoclet还生成一个工具类,用来查询home和remote接口。
With the form taken care of, we need a utility class to create and sign policy documents.
为了保护这个表单,我们需要使用一个工具类来创建策略文档并签名。
Listing 1 illustrates one of the simplest tests possible for the utility class StringUtils.
清单1演示了实用类stringutils的一个最简单的测试。
Notice that for each method, we make a call to a utility class, DbManager, to get a connection.
注意,对于每个方法,我们将调用实用程序类dbmanager以获得连接。
This change to the utility class is the first since the Collections Framework debuted in J2SE 1.2.
自从集合框架初次出现在J2SE 1.2 中以来,人们第一次对实用工具类进行了更改。
Therefore, you still need a utility class if you want to add application-specific information to the events.
因此,如果您想将应用程序的特定信息添加到事件中那么仍旧需要工具类。
Create a new helper function in your utility class that takes care of the necessary parsing (see Listing 14).
在您的有效类中创建一个有利于必要解析工作的新的助手功能。(请看列表14)。
A simple utility class is created to easily get the instance of the async remote interface (lines 7-13 in Listing 8).
通过创建简单的实用程序类很容易获得异步远程接口的实例(清单8中的第7 - 13行)。
This is a utility class that exposes model and profile lifecycle operations and provides access to the modeling platform.
这是一个显示模型以及概述生命周期操作,并提供建模平台访问方式的实用类。
WebSphere provides a utility class com.ibm.ws.webservice.engine.utils.tcpmon to sniff the HTTP traffic between two points.
WebSphere提供实体类 com.ibm.ws.webservice.engine.utils.tcpmon 用以嗅探两点之间的HTTP通信。
Not surprisingly, you can also use this utility class to output the SELECT result bindings as JSON, as shown in Listing 11.
毫不奇怪,使用这个工具类也能将SELECT结果邦定输出为JSON,如清单 11 所示。
In this example the method is a series of if statements that divert control to different locations within our utility class.
在这个示例中,该方法是一个if语句序列,这些语句将控制权转移到我们的实用程序类中的不同位置。
The Blether service USES the JpaTemplate utility class that the Spring framework provides to add additional methods for JPA.
Blether服务使用Spring框架提供的JpaTemplate实用工具类来为jpa添加其他方法。
Each service utility class has it own implementation, since the URN name and method name each needs to invoke will be unique.
因为每个服务实用程序类所需调用的UR n名和方法名都将是唯一的,所以它们都有其自己的实现。
The code USES JMSParameter.properties and JMS_Client utility class, which are shown in Listing 5 and Listing 6, respectively.
代码使用JMSParameter . properties与JMS_Client实用类,分别如清单5与清单6所示。
So you can rewrite the code in Listing 10 a little bit by putting the locale get method in a utility class, as Listing 11 shows.
这样您就可以将场所获取方法放在工具类中,来重写列表10中的代码,如列表11所示。
I have included a utility class called EmailSubscriber in the sample code for this article, which abstracts some of the complexity.
我已经将名为EmailSubscriber的实用工具类包括在本文的示例代码中,该示例代码摘要了某些复杂的内容。
The javax.xml.datatypes package also defines the DatatypeConstants utility class that contains basic data type values as constants.
datatypes包还定义了DatatypeConstants 工具类,以常量定义了基本的数据类型值。
The service utility class is responsible for dynamically creating a SOAP request and getting the response back from the SOAP server.
服务实用程序负责动态创建SOAP请求,并从SOAP服务器取回响应。
应用推荐