question: public static String encode ( String string ) { byte [ ] bytes ; try { bytes = string . getBytes ( PREFERRED_ENCODING ) ; } catch ( UnsupportedEncodingException e ) { bytes = string . getBytes ( ) ; } return encodeBytes ( bytes ) ; }
target:  Encode string as a byte array in Base64 annotation.