public String convertSWFToHTML(InputStream in) throws Exception {
  StringWriter out1=new StringWriter();
  output=new PrintWriter(out1);
  TagParser parser=new TagParser(this);
  SWFReader reader=new SWFReader(parser,in);
  reader.readFile();
  in.close();
  sizeCount=reader.size;
  final String ret="<html>" + (headerstr.isEmpty() ? "<body>" : "<header>" + headerstr + "</header><body>") + out1.toString()+ "</body></html>";
  return ret;
}

public String convertSWFToHTML ( InputStream in ) throws Exception { StringWriter out1 = new StringWriter ( ) ; output = new PrintWriter ( out1 ) ; TagParser parser = new TagParser ( this ) ; SWFReader reader = new SWFReader ( parser , in ) ; reader . readFile ( ) ; in . close ( ) ; sizeCount = reader . size ; final String ret = "<html>" + ( headerstr . isEmpty ( ) ? "<body>" : "<header>" + headerstr + "</header><body>" ) + out1 . toString ( ) + "</body></html>" ; return ret ; }
parses swf input and extracts text and wrap it as html
