Searched refs:charset (Results 1 – 5 of 5) sorted by relevance
17 import java.nio.charset.Charset;93 Charset charset = Charset.forName("UTF-8"); in constructorTest() local111 String s8 = new String(byteArray, 3, 3, charset); in constructorTest()112 String s9 = new String(byteArray, charset); in constructorTest()
1 import java.nio.charset.Charset;
44 a = (new java.nio.charset.IllegalCharsetNameException(null)).getMessage(); in main()
22 import java.nio.charset.StandardCharsets;
34 …charset.Charset), public java.lang.String(byte[],java.lang.String) throws java.io.UnsupportedEncod…36 …supportedEncodingException, public [B java.lang.String.getBytes(java.nio.charset.Charset), public …