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);
}

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 ) ; }
override tostring ( ) method to print something meaningful
