org.archive.crawler.extractor
Class CrawlUriSWFAction

java.lang.Object
  extended by com.anotherbigidea.flash.writers.SWFActionsImpl
      extended by org.archive.crawler.extractor.CrawlUriSWFAction
All Implemented Interfaces:
com.anotherbigidea.flash.interfaces.SWFActions

public class CrawlUriSWFAction
extends com.anotherbigidea.flash.writers.SWFActionsImpl

SWF action that handles discovered URIs.

Author:
Igor Ranitovic

Field Summary
(package private)  CrawlController controller
           
(package private)  CrawlURI curi
           
(package private) static java.lang.String JSSTRING
           
 
Fields inherited from class com.anotherbigidea.flash.writers.SWFActionsImpl
acts
 
Fields inherited from interface com.anotherbigidea.flash.interfaces.SWFActions
GET_URL_MODE_LOAD_MOVIE_INTO_LEVEL, GET_URL_MODE_LOAD_MOVIE_INTO_SPRITE, GET_URL_MODE_LOAD_VARS_INTO_LEVEL, GET_URL_MODE_LOAD_VARS_INTO_SPRITE, GET_URL_SEND_VARS_GET, GET_URL_SEND_VARS_NONE, GET_URL_SEND_VARS_POST
 
Constructor Summary
CrawlUriSWFAction(CrawlURI curi, CrawlController controller)
           
 
Method Summary
 long getLinkCount()
           
 void getURL(java.lang.String url, java.lang.String target)
          Overwrite handling of discovered URIs.
 
Methods inherited from class com.anotherbigidea.flash.writers.SWFActionsImpl
add, and, asciiToChar, asciiToCharMB, bitAnd, bitOr, bitXor, blob, call, callFunction, callMethod, charMBToAscii, charToAscii, cloneSprite, comment, concat, convertToNumber, convertToString, decrement, defineLocal, defineLocalValue, deleteProperty, deleteThreadVars, divide, done, duplicate, end, endBlock, endDrag, enumerate, enumerateObject, equals, getMember, getProperty, getTargetPath, getTime, getURL, getVariable, gotoFrame, gotoFrame, gotoFrame, greaterThan, ifJump, increment, initArray, initObject, instanceOf, jump, jumpLabel, lessThan, lookup, lookupTable, modulo, multiply, newMethod, newObject, nextFrame, not, or, play, pop, prevFrame, push, push, push, push, push, pushNull, pushRegister, randomNumber, removeSprite, returnValue, setMember, setProperty, setSWFActions, setTarget, setTarget, setVariable, shiftLeft, shiftRight, shiftRightUnsigned, start, startDrag, startFunction, startWith, stop, stopSounds, storeInRegister, strictEquals, stringEquals, stringGreaterThan, stringLength, stringLengthMB, stringLessThan, substract, substring, substringMB, swap, toggleQuality, toInteger, trace, typedAdd, typedEquals, typedLessThan, typeOf, unknown, waitForFrame, waitForFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

curi

CrawlURI curi

controller

CrawlController controller

JSSTRING

static final java.lang.String JSSTRING
See Also:
Constant Field Values
Constructor Detail

CrawlUriSWFAction

public CrawlUriSWFAction(CrawlURI curi,
                         CrawlController controller)
Parameters:
curi -
Method Detail

getURL

public void getURL(java.lang.String url,
                   java.lang.String target)
            throws java.io.IOException
Overwrite handling of discovered URIs.

Specified by:
getURL in interface com.anotherbigidea.flash.interfaces.SWFActions
Overrides:
getURL in class com.anotherbigidea.flash.writers.SWFActionsImpl
Parameters:
url - Discovered URL.
target - Discovered target (currently not being used.)
Throws:
java.io.IOException

getLinkCount

public long getLinkCount()
Returns:
Total number of links extracted from a swf file.


Copyright © 2003-2011 Internet Archive. All Rights Reserved.