pull/1/head
Michael Peter Christen 13 years ago
parent 9ad1d8dde2
commit 8d63a5887c

@ -12,7 +12,7 @@
{
var f = document.getElementById('QueuesTable');
f.contentWindow.location.reload(true);
setTimeout("refreshiframe()", 1000);
setTimeout("refreshiframe()", 2000);
}
</script>
</head>

@ -496,7 +496,6 @@ public class ContentScraper extends AbstractScraper implements Scraper {
Log.logException(e);
return cleanLine(super.stripAll(inlineHtml));
} finally {
scraper.close();
try {
writer.close();
} catch (IOException e) {

@ -510,6 +510,7 @@ public final class TransformerWriter extends Writer {
// the filter process is messed up
// instead, we simply flush the underlying output stream
if (this.out != null) this.out.flush();
if (this.scraper != null) this.scraper.finish();
// if you want to flush all, call close() at end of writing;
}

@ -203,8 +203,9 @@ public class htmlParser extends AbstractParser implements Parser {
} catch (final IOException e) {
throw new Parser.Failure("IO error:" + e.getMessage(), location);
} finally {
writer.flush();
sourceStream.close();
writer.close();
//writer.close();
}
//OutputStream hfos = new htmlFilterOutputStream(null, scraper, null, false);
//serverFileUtils.copy(sourceFile, hfos);

Loading…
Cancel
Save