question: public final String toString ( ) { String out = null ; try { ByteArrayOutputStream baos = new ByteArrayOutputStream ( ) ; BufferedOutputStream bos = new BufferedOutputStream ( baos ) ; output ( bos ) ; bos . flush ( ) ; if ( getCodeSet ( ) != null ) { out = baos . toString ( getCodeSet ( ) ) ; } else { out = baos . toString ( ) ; } bos . close ( ) ; baos . close ( ) ; } catch ( IOException ioe ) { } return ( out ) ; }
target:  Override toString() method to print something meaningful