String function ( byte [ ] arg0 , String arg1 ) { if ( arg0 == null ) { return null ; } try { return new String ( arg0 , arg1 ) ; } catch ( UnsupportedEncodingException loc0 ) { throw StringUtils . newIllegalStateException ( arg1 , loc0 ) ; } }
constructs a new string by decoding the specified array of bytes using the given charset . this method catches unsupportedencodingexception and re-throws it as illegalstateexception , which should never happen for a required charset name . use this method when the encoding is required to be in the jre . concode_field_sep String UTF_8 concode_field_sep byte[] getBytesUtf8 concode_elem_sep String newStringUtf8 concode_elem_sep byte[] getBytesUnchecked concode_elem_sep IllegalStateException newIllegalStateException