二进制类格式实际上是由JVM规范定义的。
The binary class format is actually defined by the JVM specification.
所实现的任何格式都必须继承自这些类中的一个。
Any format you implement must inherit from one of these classes.
在本文后续各节中,我将为您展示一些简单的单元测试,这些单元测试能确保您不会不经意地更改可串行化类的串行格式。
In the sections that follow, I show you a few simple unit tests that ensure that you do not inadvertently change the serialization format of your serializable classes.
正如我在前一期中介绍的,签名是泛型添加到类文件格式中的项目;只有对泛型的引用才有签名。
As I covered in the last column, signatures are an item added to the class file format by generics; only references to generic types have signatures.
文本消息必须遵循特定的格式,以便转换程序类能够确定要使用的正确业务对象。
The text message must follow a specific format so that the converter class can determine the right business object to use.
有一个问题是,类的格式需要在一个目录结构中。
One issue is the format of the class needs to be in a directory structure.
在某种程度上,浏览器会对某些XML(和类xml)格式,比如HTML或SVG,进行这种文档到视图的转换。
To a certain extent, this is what a browser does for certain XML (and XML-like) formats, such as HTML or SVG.
最后,该惯例要求方法为公共,因此我使用查找格式,查找类上可调用的公共方法。
Finally, the convention requires the methods to be public, so I use the form of lookup that finds public methods callable on the class.
这里创建了另外三个类变量以帮助格式化XHTML输出。
Three more variables are created here to help format the XHTML output.
为了保持整洁和灵活,您可以使用一个单独的类来处理每个输出格式,每个类提供表1所列的功能。
To keep things neat and flexible, you can use a separate class to handle each output format, each of these providing the functionality listed in table 1.
可以创建标准化的VXML输出类,根据预定义的格式生成特定的片断元素。
You can create a standardized VXML output that will generate specific elements of fragments according to a pre-defined format.
JSON4J库提供一组易于构造JSON数据格式的类。
The JSON4J library provides a set of classes for easily constructing JSON data formats.
您还可以导出一些较不常见的格式,比如大多数WebWiki环境所支持的类html格式。
You can also export to more unusual formats, such as the quasi-HTML formatting supported by most Web-based wiki environments.
他将Web上的版本控制分为两类:表现格式变更和资源变更。
He classifies versioning on the web into two categories; representation format changes and resource changes.
如果您确实对类的串行化格式做出了不兼容的更改,应相应更改serialversionuid字段,以指出您这样做了。
If you do make an incompatible change to the serialization format of a class, you should also change the serialVersionUID field to indicate that you've done so.
提供类文档的最佳格式。
有关详细信息,请参阅厂商文档,包括url格式、驱动器类名、驱动器jar文件的名称和位置。
Refer to the vendor documentation for detailed information, including the URL format, the driver class name, and the name and location of the driver jar files.
现在Propertie视图中的Advanced选项卡以只读格式显示了类图上选项的属性。
The Advanced TAB in the properties view now shows properties of the selection on the class diagram in read-only format.
socket类提供了以任何格式对服务器套接字读写二进制数据的方法。
The socket class provides a means to read and write binary data to server sockets in any format.
和属性一样,类的操作以列表格式显示,每个操作在它自己线上。
Like the attributes, the operations of a class are displayed in a list format, with each operation on its own line. Operations are documented using the following notation.
NumberFor mat类也支持货币格式。
The Java.text.NumberFormat class also supports currency format.
还好有另外一个选择——J SR- 238提供了可直接用于资源本地化和数据格式化的类。
There is an alternative — JSR-238 provides classes that you can use directly for localized resources and data formatting.
通常,您不能依赖默认串行化格式来保持类的不同版本间的文件格式兼容性。
You usually can't rely on the default serialization format to retain file-format compatibility between different versions of a class.
我们将此编辑器的选项设为当前行的选项,并让父类来实际进行此信息的格式化。
We set the options of the editor to be that of the current row, and let the parent do the actual formatting of this information.
通过在一个链接的文件中定义css类并将该html格式的类应用到元素上,可以进一步削弱表示方法与内容之间的关系。
By defining a CSS class in a linked file and applying the class in HTML to an element, you can further decouple the presentation and content.
这里,我们以几种不同的方式对类名进行格式化。
这里假设读者熟悉诸如格式良好和XML文档的类标签性质等概念。
It assumes that you are familiar with concepts such as well-formedness and the tag-like nature of an XML document.
ODFDOM 不仅提供合适的方法来设置日期和时间格式,还有一些特别的类用于这种格式。
ODFDOM is able to provide not only the appropriate means to set date and time formats, but also some special style classes for many kinds of formats.
该包装类将参数格式化为类似上面代码的XML字符串。
The wrapper class would take care of formatting the arguments into an XML string resembling the code above.
类装入器对于类的字节码要做许多检测,以确保格式正确、行为正确。
The class loader does a number of checks on the bytecodes of the class to ensure that it is well formed and well behaved.
应用推荐