Another way to search for a class using the sysinfo utility is described in the next section.
另一种方法是通过sysinfo实用程序来搜索类,这将在下一节中进行描述。
The trace message exploits a utility method in the class XmlSdoUtilities, so you will need to add this import statement.
跟踪消息利用了类XmlSdoUtilities中的一个实用方法,因此您需要添加此导入语句。
This utility class can have functions for all such keywords or functions.
这个实用程序类可以包含针对所有这类关键字或函数的函数。
For each dynamic service obtained, the corresponding services utility class is invoked.
获得的每个动态服务都将调用对应的服务实用程序类。
Building the model and utility class.
构建模型和实用程序类。
The listing shows a utility class that gets used by the unit test.
这个清单给出单元测试使用的实用程序类。
It then calls a new method in the DB utility class we have used previously.
然后将在以前使用的DB实用程序类中调用新方法。
This change to the utility class is the first since the Collections Framework debuted in J2SE 1.2.
自从集合框架初次出现在J2SE 1.2 中以来,人们第一次对实用工具类进行了更改。
The BaseDbProvider provides a utility class for working with MySQL databases.
BaseDbProvider 为使用MySQL数据库提供一个实用程序类。
In this example the method is a series of if statements that divert control to different locations within our utility class.
在这个示例中,该方法是一个if语句序列,这些语句将控制权转移到我们的实用程序类中的不同位置。
If the table doesn't exist, it invokes the database initialization code, ResourcesDatabaseInitializer, which in this example is a utility class that initializes the database.
如果该表不存在,则它调用数据库初始化代码ResourcesDatabaseInitializer,该代码在此示例中是初始化数据库的实用程序类。
The key reason why we decided to have a utility class for data access was to ensure that the same classes could be used to connect to any type of Domino database.
决定实现一个实用程序类来进行数据访问的关键原因是,希望确保可以使用相同的类来连接任何类型的Domino数据库。
The Sca framework provides an ScaTestExecutor utility class that manages the loading of test data and executes the corresponding test. The code for test methods, then, becomes very simple.
Sca框架提供了管理测试数据加载的ScaTestExecutor实用工具类,它可以执行相应的测试。
For example, utility methods on the implementation class don't have to exist on the remote interface.
例如,实现类的实用程序方法不必放在远程接口上。
The GenSequence class implements the core logic of the utility.
GenSequence类实现实用程序的核心逻辑。
The following class is a model of a common concurrent utility: a work queue.
下面的类是一种常见的并行实用程序模型:任务队列。
The Locale class provided in the intl library defines handy utility methods.
intl库内提供的locale类定义了方便的实用工具方法。
This utility JAR contains a class that performs JPA 1.0 based interactions with a database that writes the data entered in a browser by the user to a database table.
这个JAR实用程序含有一个执行基于JPA 1.0的数据库交互的类,该数据库将用户从浏览器输入的数据写入数据库表。
Continuing with this design, you can place all of the business logic and transition mapping in a utility class for use by both our controller and JSPs.
继续这个设计,您可以将所有的业务逻辑和转换映射放在一个实用程序类中,以供我们的控制器和JSP使用。
Listing 9 shows the complete action class code, not just the segment that changes the project description, so we can learn about some utility methods created for the second revision of the plugin.
清单9显示了完整的操作类代码,不只是改变项目描述的片断,这样我们可以学习为第二版插件创建的一些实用方法。
You also need a utility class for creating appropriate URLs in your feed.
您还需要使用一个实用类在提要中创建相应的URL。
It also hurts the design of your domain classes because this utility class must now sit at the top of your object hierarchy, not allowing you to use inheritance to consolidate common behavior.
这还不利于域类的设计,因为这个实用类现在必须位于对象层次结构的顶层,不允许您使用继承来整合常见行为。
The CustomerService bean is a utility class that implements methods to access the database for adding, updating, removing, and retrieving customer information.
CustomerServicebean是个工具类,它实现了访问数据库以增加、更新、删除和查询用户信息的方法。
Monkeyrunner: a class of utility methods for monkeyrunner programs.
一个为monkeyrunner程序提供工具方法的类。
Listing 3 shows the utility class for ECS.
清单3展示了用于ECS的工具类。
Next, policy and signature are generated with the utility class we built.
接下来,我们所创建的工具类会创建策略和签名。
XDoclet also generates a utility class used to look up the home and remote interfaces.
XDoclet还生成一个工具类,用来查询home和remote接口。
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所示。
In fact, you might want to bundle up the code you write to handle data source configuration and connection into a utility class (that's left for you as an exercise).
实际上可以将处理数据源配置和连接的代码打包成一个工具类(留给读者作为练习)。
These are primarily interfaces for parsing and building Document and Element objects and a utility class that makes reading and writing Document streams easier.
它们主要是解析和构建Document 和Element对象的接口,一个工具类使读和写 Document流更容易。
应用推荐