|
|
|
@ -38,7 +38,6 @@ import net.yacy.cora.document.UTF8;
|
|
|
|
|
import net.yacy.document.AbstractParser;
|
|
|
|
|
import net.yacy.document.Document;
|
|
|
|
|
import net.yacy.document.Parser;
|
|
|
|
|
import net.yacy.kelondro.logging.Log;
|
|
|
|
|
import pt.tumba.parser.swf.SWF2HTML;
|
|
|
|
|
|
|
|
|
|
public class swfParser extends AbstractParser implements Parser {
|
|
|
|
@ -56,6 +55,7 @@ public class swfParser extends AbstractParser implements Parser {
|
|
|
|
|
* parses the source documents and returns a plasmaParserDocument containing
|
|
|
|
|
* all extracted information about the parsed document
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public Document[] parse(final MultiProtocolURI location, final String mimeType,
|
|
|
|
|
final String charset, final InputStream source)
|
|
|
|
|
throws Parser.Failure, InterruptedException
|
|
|
|
@ -71,7 +71,6 @@ public class swfParser extends AbstractParser implements Parser {
|
|
|
|
|
} catch (final IOException e) {
|
|
|
|
|
throw new Parser.Failure(e.getMessage(), location);
|
|
|
|
|
} catch (final Exception e) {
|
|
|
|
|
Log.logException(e);
|
|
|
|
|
throw new Parser.Failure(e.getMessage(), location);
|
|
|
|
|
}
|
|
|
|
|
String url = null;
|
|
|
|
|