Пример #1
0
 /**
  * @author Josh Ventura
  * @date May 22, 2012; 2:41:24 PM
  * @param str The string to escape and insert.
  * @specRef N/A
  */
 public void appendPlain(String str) {
   try {
     hos.write(str);
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
Пример #2
0
 /**
  * @author Josh Ventura
  * @date May 22, 2012; 2:41:24 PM
  * @param html HTML to insert.
  * @specRef N/A
  */
 public void append(String html) {
   hos.writeHTML(html);
 }