欢迎光临
我们一直在努力

看看String类的构造方法-JSP教程,Java基础

建站超值云服务器,限时71元/月

string
public string(byte[] bytes,
              string enc)
       throws unsupportedencodingexception
construct a new string by converting the specified array of bytes using the specified character encoding. the length of the new string is a function of the encoding, and hence may not be equal to the length of the byte array.
parameters:
bytes – the bytes to be converted into characters
enc – the name of a supported character encoding
throws:
unsupportedencodingexception – if the named encoding is not supported
since:
jdk1.1

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 看看String类的构造方法-JSP教程,Java基础
分享到: 更多 (0)