Constructor String(byte[] bytes, String charsetName)
Member of:
java.lang.String
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
return new String( bytesOut, "US-ASCII" );
2
System.out.println("MMBase " + new String(rawchars, "UTF-8"));
3
_fromText = new String(fromText.getBytes(), "UTF-8");
4
init(new String(bytes, "8859_1"));
5
this.data(new String(data.getBytes(container_encoding), form_encoding));
6
_toText = new String(toText.getBytes(), "UTF-8");
7
requestBody = new String(NodeRevisionContent.readFromStream(req.getInputStream()),
8
_responseText = new String( bytes, getCharacterSet() );
9
out.write(new String(bytes, encoding));
10
String dummy = new String(buffer, enc);
11
AttrImpl attr = new AttrImpl(this, name, nsURI, symbol, new String(b, "UTF-8"));
12
text=new String(Base64.decode(text.getBytes("utf8")),"utf8");
13
response = new String(responseBytes, "utf-8");
14
res.tail = new String(data, "UTF-8");
15
String sql = new String(bytes, "utf-8");
16
result = new String(((String)result).getBytes("ISO8859_1"), encoding);
17
d = new String(data.data, "UTF-8");
18
msg.parse(new String(msg.getBytes(),"UTF-8"));
19
String mystring = new String(results.getBytes(i), "UTF-8");
20
imageSource = new String(baos.toByteArray(), "UTF-8");
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.