encodes the given string into a sequence of bytes using the named charset , storing the result into a new byte array . this method catches unsupportedencodingexception and rethrows 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 PlaceHolder placeHolder concode_field_sep byte[] getBytesUtf16 concode_elem_sep byte[] getBytesUtf16Le concode_elem_sep String newStringUsAscii concode_elem_sep String newStringUtf8 concode_elem_sep byte[] getBytesIso8859_1 concode_elem_sep byte[] getBytesUtf16Be concode_elem_sep IllegalStateException newIllegalStateException concode_elem_sep byte[] getBytesUsAscii concode_elem_sep String newStringIso8859_1 concode_elem_sep String newString concode_elem_sep byte[] getBytesUtf8 concode_elem_sep String newStringUtf16 concode_elem_sep String newStringUtf16Le concode_elem_sep String newStringUtf16Be
byte [ ] function ( String arg0 , String arg1 ) { if ( arg0 == null ) { return null ; } try { return arg0 . getBytes ( arg1 ) ; } catch ( UnsupportedEncodingException loc0 ) { throw StringUtils . newIllegalStateException ( arg1 , loc0 ) ; } }