您需要将以下jar文件置于类路径(classpath)上。
当您创建JAR文件时,它只包括产生的类文件和资源。
When you create the JAR file, only include the generated class files and resources.
它也不包含类文件。
类文件存在吗?
这生成一个类文件。
包括ServletJAR文件或类。
仅仅是拥有大量文件和类就会变成一个问题。
Just having a huge number of files and classes can become a problem.
编译源代码来创建类文件。
在这个目录中,可以获得多个类文件。
接着将类文件打包到一个JAR中。
对象、类文件,和方法名称。
创建简单的报告,列出每个类文件及其对应的校验和。
Create a simple report that lists each class file and its corresponding checksum.
最后一点,它只写到实际更改的类文件。
Finally, it only writes to class files that have actually been changed.
首先,我们必须处理类和文件层。
现在,让我们来看看实现该插件的类文件。
Now, let's look at the actual class file that implements the plug-in.
我们需要编辑服务器的配置文件以更新类路径。
We need to edit the Server's configuration file to update the class path.
现在,您可以实现主文件中的类,如清单6所示。
Now, you can implement the class in the main file, as shown in Listing 6.
这将删除前一次构建中使用的源代码和类文件。
This deletes the source code and class files that were used in the previous build.
第二个包中的类文件实现了第一个包中的接口。
The class files from the second package implement the interfaces from the first.
您可以启动NewClass向导,并使用它来创建类文件。
You can invoke the New class wizard and use it to create the class file.
对PrintService . cs文件中的类定义进行以下更新,并将其保存。
Make the following update to the class definition in the PrintService.cs file and save the same.
在同一个文件里生成多个类。
(您也可以使用这个类来读取ODF文件)。
您还应该把不用的包装器类从EAR文件中删除。
You should also remove the unused wrapper classes from the EAR file.
Spring支持通过在web. xml文件中引用SpringServlet类来启用。
Spring support is enabled by referencing the SpringServlet class in the web.xml file.
这个文件还声明模块的入口点类(第6行)。
This file also declares the entry point class for the module (line 6).
但是一旦上述工作结束,您还要把类文件拷贝到另一个目录中,或进行压缩,通过邮件发送给其他人。
But once you're done, you may want to copy the class file to another directory or zip it up to send it to someone else by E-mail.
清单3给出了包含目录和文件信息的一对类的代码。
Listing 3 gives the code for the pair of classes holding directory and file information.
该文件需要包含解析器配置的类名。
This file needs to contain the class name of the parser configuration.
现在,您就能够在项目的任意源文件中使用NokiaUI类了。
Now, you can use the Nokia UI classes in any source file in the project.
应用推荐