通过标准路径将文件转换成字符串才会导致异常。
The exception is caused by converting files into strings via canonical paths.
更好一些,可以利用XSL将xml树转换成字符串的方法。
Or even better, we can take advantage of the way XSL converts XML trees to strings.
将传入的所有意料之外字符的所有变量都转换成字符串,并将其截断为合理的限制长度。
String all incoming variables of all unexpected characters and truncate the length to a reasonable limit.
如果均未找到,它甚至会尝试将数字转换成字符串,并调用foo (String)。
If none of those are found, it even tries converting the number to a string and calling foo (string).
但是string函数并不是将Boolean函数转换成字符串的惟一方法。
The string function, however, is not the only means of converting a Boolean function to a string.
考虑Boolean函数转换成字符串以及再转换回来时会出现的非预期结果。
Consider the unexpected result when a Boolean function is converted to a string and back again.
所有的文本和字符实体都必须转换成字符串(如str_i)或实体(ENTITY)标记。
All text and character entities MUST be converted to string (e.g., STR_I) or entity (entity) tokens.
将需要被附带上的数据编码,转换成字符串表示,并将其放置在XML有效载荷的soap体中。
The data that needs to be attached is encoded, converted to a string representation, and placed inside the SOAP body of an XML payload.
我们使用time函数来获取当前时间,然后使用snprintf将其转换成字符串。
I grab the current time using the time function, then convert it to a string with snprintf.
带有select属性的结果不被自动转换成字符串;因此,boolean值保持为boolean值。
The result with a select attribute is not automatically converted to a string; as such, a Boolean value remains a Boolean.
Versa提供数据转换函数,其中之一是string函数,它将其参数转换成字符串。
Versa provides data conversion functions, one of which is the string function, which converts its argument to a string.
相应地,中介流将二进制负载的内容转换成字符串格式,它是构成传递到后台服务的SOAP请求的XML部分。
Accordingly, the mediation flow transforms the content of the binary payload to string format to be part of the XML making the SOAP request that is passed to the back end service.
保持Boolean函数true和false为booleans值,不让它们被意外地转换成字符串,是很困难的。
Keeping the Boolean functions true and false as Booleans without having them unintentionally converted to strings is difficult.
Angular对所有双花括号中的表达式求值,把求值的结果转换成字符串,并把它们跟相邻的字符串字面量连接起来。
Angular evaluates all expressions in double curly braces, converts the expression results to strings, and links them with neighboring literal strings.
要把元素或属性和字符串进行比较,或者将其传递给需要字符串参数的函数,必须使用(string)强制转换成字符串。
To compare an element or attribute with a string or pass it into a function that requires a string, you must cast it to a string using (string).
在画布上创建一个新的BusinessObjectMapper原语,这个映射器的目的是将二进制输入转换成字符串并操作它。
Create a new Business Object mapper primitive to the canvas, the intention of this mapper is to convert the binary input to a string and manipulate it.
第101到107行从MessageContext获得响应,并使用分析JMSSOAPSender文件中讨论过的助手方法把它转换成字符串表示。
Lines 101-107 get the response from MessageContext and convert it to a string representation using helper methods as discussed in Analyzing the JMSSOAPSender file.
除了一个监听器将输入字符串转换成大写字母之外,监听器的代码完全相同。
With the exception that one of the listeners converts the input string to uppercase, the code for the listeners is exactly the same.
同样,这个应用程序以字节流形式检索记录,然后将它转换成一个字符串。
Similarly, the application retrieves the record as a stream of bytes and converts it into a string.
它们只是分别将字符串都转换成大写字母或小写字母。
They simply convert the string to all uppercase or all lowercase letters, respectively.
您可能会感到奇怪。其实内部函数调用将输入字符串转换成使用特定格式编译的时间戳。
In case you're curious, the inner function call converts the input string into a timestamp that complies with a specific format.
在SQL编程中,可以使用SQL命令PREPARE将含有任何(数学)公式的字符串转换成可执行的sql语句。
In SQL programming, a string containing any (mathematical) formula can be converted into an executable SQL statement with the SQL command PREPARE.
该组件将标准类型转换成通用字符串类型,或者将通用字符串类型转换成某种标准类型。
This component converts any of the standard types to a generic string type and a generic string type to a standard type.
然后,必要时可以将可选参数转换成一个字符串或一组POST参数。
We could then turn the optional parameters into either a single string or a set of POSTed parameters as necessary.
回到清单3,根据格式请求参数,Stock对象列表被转换成xml或json字符串并被发送回客户端。
Back in Listing 3, depending on the format-request parameter, the list of Stock objects is converted to XML or JSON strings and sent back to the client.
所以,例如通过将返回对象指定为“json ”类型,jQuery将能自动将来自服务器的响应字符串转换成json对象,使您能够立即引用它。
So, for example, by specifying the return object as a type "json", jQuery will automatically convert the response String from a server into a json object, allowing you to reference it immediately.
对orb string_to_object()的方法调用只取得ior字符串,并将它转换成对象引用。
The method call on the orb string_to_object() will simply take our ior string and convert it to an object reference. Here is the code from our client, SimpleCalcClient.java
每个Stock都有三个属性—symbol、name和price—和几个便捷的方法,以便将其自己转换成xml字符串或JSON字符串。
Each Stock has three properties - symbol, name, and price -and convenience methods to convert itself into either an XML string or a JSON string.
我还是要用到,来把它转换成格式化字符串。
Printf And then I'm gonna use the same printf line after that to actually plop it into this formatted string.
例外情况,一个监听器将输入字符串转换成大写字母,而另一个将其转换成小写字母,这对于监听器所编写的代码都是完全相同的。
With the exception that one of the listeners converts the input string to uppercase, while the second converts the string to lowercase, the code for the listeners is exactly the same.
应用推荐