public static String printCodePointAsString ( int codePoint ) { StringBuilder builder = new StringBuilder ( 12 ) ; builder . append ( ' ' ) ; try { printStringCodePoint ( builder , codePoint ) ; } catch ( IOException e ) { // Shouldn't happen throw new Error ( e ) ; } builder . append ( ' ' ) ; return builder . toString ( ) ; }
Builds a String denoting an ASCII - encoded Ion string with double - quotes surrounding a single Unicode code point .