爱心技术专栏专题

ing类的构造方法

摘录:java 来源:java 加入时间:2006年08月19日
摘要:
ing类的构造方法

String
public String(byte[] bytes,
              String enc)
       throws Unsuppor…

转载:转载请保留本信息,本文来自
http://www.51dibs.com
/html/2006/article/info14/a_5849731c87798cb6.htm

ing类的构造方法

站点:爱心种子小博士 关键字:ing类的构造方法

   
ing类的构造方法
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

客户服务中心信箱:[email protected] [email protected] 网站地图

声明

合作伙伴: