由于Excel文件包含二进制数据,所以这里使用FileInputStream而不是filereader类,后者读取只包含文本字符的文件。
Because Excel files contain binary data, use FileInputStream instead of the FileReader class, which reads files containing only text characters.
如果需要其他的数据类型,比如说整数、浮点数或者布尔值,必须使用相应的包装器类来解析字符串。
If you need another data type such as integer, floating point, or Boolean value, you will have to parse the string using the appropriate wrapper class.
如果输出定义包含返回字符串的输出表达式,它们会生成VARGRAPHICS (255)forDB 2类型的列,或者基于数据库类型的等效列。
If the output definition contains output expressions returning a string, they produce columns of type VARGRAPHICS (255) for DB2, or an equivalent type depending on the database type.
基类获取format,这是一个指定了要使用的数据格式的字符串。
The base class takes format, a string that specifies the data format to use.
ut il—字符串操作、cookie管理、数据操作、延迟动作支持和回调支持等任务的实用程序类。
Util — Utility classes for such tasks as string manipulation, cookie management, data manipulation, deferred action support, and callback support.
不幸的是,JAXB没有发现这一点并使用布尔数据类型,toptype类的这个属性可以接受任何字符串值。
Unfortunately, JAXB failed to pick up on this and use a Boolean data type — instead, the TopType class accepts any string value for this attribute.
当然,字符串数组不是惟一可以接受或返回的数组类型,INTEGERARRAY_HOLDER、LONGARRAY_HOLDER、和lsxsd.lss 文件中定义的类似的类也可以为其他原生数据类型提供相同的功能。
Of course, string arrays are not the only kind of arrays you can accept or return. There are also INTEGERARRAY_HOLDER, LONGARRAY_HOLDER, and similar classes defined in the lsxsd.lss
在这种情况下,可以使用resourcebundle类(请参阅清单3)来查找已翻译好的字符串常量,并将国际化字符串置入xml数据中。
In this case the ResourceBundle class (see Listing 3) can be used to look up translated string constants and to include the internationalized strings in the XML data.
虽然此视图将代替管理数据(不知道数据会到哪里),但是它必须将文本字符串(类json格式)转换为Objective - c数据对象。
This view, will manage the data instead (it does not know where the data arrived), but it must convert the text string (JSON-like formatted) into an Objective-C data object.
实现or g . relaxng .datatype . datatype接口的类表示素数数据类型:该类负责检查一个给定的字符串是否为素数。
A class that implements the org.relaxng.datatype.Datatype interface to represent the prime datatype: This class is responsible for verifying that a given string is, in fact, a prime number.
lss文件(可以在本地的Notes程序目录中找到)中的类是很有用的,允许传递字符串数组、文件和数据。
The classes in the lsxsd.lss file (which can be found in your local Notes program directory) are very useful and can allow you to pass string arrays, files, and dates.
通过使用单个类,您将使测试人员更加方便地更改数据库提供程序和连接字符串。
By using a single class, you make it easier for testers to change database providers and connection strings.
通过使用单个类,您将使测试人员更加方便地更改数据库提供程序和连接字符串。
By using a single class, you make it easier for testers to change database providers and connection strings.
应用推荐