Конструкторы
Java String API v7,8 содержит 15 конструкторов, два из которых помечены как deprecated.
String()
String(byte[] bytes)
String(byte[] bytes, Charset charset)
String(byte[] ascii, int hibyte)
String(byte[] bytes, int offset, int length) throws IndexOutOfBoundsException
String(byte[] bytes, int offset, int length, Charset charset) throws IndexOutOfBoundsException
String(byte[] ascii, int hibyte, int offset, int count) throws IndexOutOfBoundsException
String(byte[] bytes, int offset, int length, String charsetName) throws IndexOutOfBoundsException, UnsupportedEncodingException
String(byte[] bytes, String charsetName) throws UnsupportedEncodingException
String(char[] value)
String(char[] value, int offset, int count) throws IndexOutOfBoundsException
String(int[] codePoints, int offset, int count) throws IndexOutOfBoundsException, IllegalFormatException
String(String original)
String(StringBuffer buffer)
String(StringBuilder builder)
ПЕРЕЙДИТЕ В ПОЛНУЮ ВЕРСИЮ