|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.swf.ActionTextWriter
public class ActionTextWriter
A writer that implements the SWFActions interface and writes actions to a text format
Field Summary | |
---|---|
protected java.lang.String |
indent
Description of the Field |
protected java.io.PrintWriter |
printer
Description of the Field |
Fields inherited from interface pt.tumba.parser.swf.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 | |
---|---|
ActionTextWriter(java.io.PrintWriter printer)
Constructor for the ActionTextWriter object |
Method Summary | |
---|---|
void |
add()
Description of the Method |
void |
and()
Description of the Method |
void |
asciiToChar()
Description of the Method |
void |
asciiToCharMB()
Description of the Method |
void |
bitAnd()
Description of the Method |
void |
bitOr()
Description of the Method |
void |
bitXor()
Description of the Method |
void |
blob(byte[] blob)
Description of the Method |
void |
call()
Description of the Method |
void |
callFunction()
Description of the Method |
void |
callMethod()
Description of the Method |
void |
charMBToAscii()
Description of the Method |
void |
charToAscii()
Description of the Method |
void |
cloneSprite()
Description of the Method |
void |
comment(java.lang.String comment)
Description of the Method |
void |
concat()
Description of the Method |
void |
convertToNumber()
Description of the Method |
void |
convertToString()
Description of the Method |
void |
decrement()
Description of the Method |
void |
defineLocal()
Description of the Method |
void |
defineLocalValue()
Description of the Method |
void |
deleteProperty()
Description of the Method |
void |
deleteThreadVars()
Description of the Method |
void |
divide()
Description of the Method |
void |
done()
Description of the Method |
void |
duplicate()
Description of the Method |
void |
end()
Description of the Method |
void |
endBlock()
Description of the Method |
void |
endDrag()
Description of the Method |
void |
enumerate()
Description of the Method |
void |
equals()
Description of the Method |
void |
getMember()
Gets the member attribute of the ActionTextWriter object |
void |
getProperty()
Gets the property attribute of the ActionTextWriter object |
void |
getTargetPath()
Gets the targetPath attribute of the ActionTextWriter object |
void |
getTime()
Gets the time attribute of the ActionTextWriter object |
void |
getURL(int sendVars,
int loadMode)
Gets the uRL attribute of the ActionTextWriter object |
void |
getURL(java.lang.String url,
java.lang.String target)
Gets the uRL attribute of the ActionTextWriter object |
void |
getVariable()
Gets the variable attribute of the ActionTextWriter object |
void |
gotoFrame(boolean play)
Description of the Method |
void |
gotoFrame(int frameNumber)
Description of the Method |
void |
gotoFrame(java.lang.String label)
Description of the Method |
void |
ifJump(java.lang.String jumpLabel)
Description of the Method |
void |
increment()
Description of the Method |
void |
initArray()
Description of the Method |
void |
initObject()
Description of the Method |
void |
jump(java.lang.String jumpLabel)
Description of the Method |
void |
jumpLabel(java.lang.String label)
Description of the Method |
void |
lessThan()
Description of the Method |
void |
lookup(int dictionaryIndex)
Description of the Method |
void |
lookupTable(java.lang.String[] values)
Description of the Method |
void |
modulo()
Description of the Method |
void |
multiply()
Description of the Method |
void |
newMethod()
Description of the Method |
void |
newObject()
Description of the Method |
void |
nextFrame()
Description of the Method |
void |
not()
Description of the Method |
void |
or()
Description of the Method |
void |
play()
Description of the Method |
void |
pop()
Description of the Method |
void |
prevFrame()
Description of the Method |
protected void |
print(java.lang.String mnemonic,
java.lang.String[] args)
Description of the Method |
void |
push(boolean value)
Description of the Method |
void |
push(double value)
Description of the Method |
void |
push(float value)
Description of the Method |
void |
push(int value)
Description of the Method |
void |
push(java.lang.String value)
Description of the Method |
void |
pushNull()
Description of the Method |
void |
pushRegister(int registerNumber)
Description of the Method |
void |
randomNumber()
Description of the Method |
void |
removeSprite()
Description of the Method |
void |
returnValue()
Description of the Method |
void |
setMember()
Sets the member attribute of the ActionTextWriter object |
void |
setProperty()
Sets the property attribute of the ActionTextWriter object |
void |
setTarget()
Sets the target attribute of the ActionTextWriter object |
void |
setTarget(java.lang.String target)
Sets the target attribute of the ActionTextWriter object |
void |
setVariable()
Sets the variable attribute of the ActionTextWriter object |
void |
shiftLeft()
Description of the Method |
void |
shiftRight()
Description of the Method |
void |
shiftRightUnsigned()
Description of the Method |
void |
start(int conditions)
Description of the Method |
void |
startDrag()
Description of the Method |
void |
startFunction(java.lang.String name,
java.lang.String[] paramNames)
Description of the Method |
void |
startWith()
Description of the Method |
void |
stop()
Description of the Method |
void |
stopSounds()
Description of the Method |
void |
storeInRegister(int registerNumber)
Description of the Method |
void |
stringEquals()
Description of the Method |
void |
stringLength()
Description of the Method |
void |
stringLengthMB()
Description of the Method |
void |
stringLessThan()
Description of the Method |
void |
substract()
Description of the Method |
void |
substring()
Description of the Method |
void |
substringMB()
Description of the Method |
void |
swap()
Description of the Method |
void |
toggleQuality()
Description of the Method |
void |
toInteger()
Description of the Method |
void |
trace()
Description of the Method |
void |
typedAdd()
Description of the Method |
void |
typedEquals()
Description of the Method |
void |
typedLessThan()
Description of the Method |
void |
typeOf()
Description of the Method |
void |
unknown(int code,
byte[] data)
Description of the Method |
void |
waitForFrame(int frameNumber,
java.lang.String jumpLabel)
Description of the Method |
void |
waitForFrame(java.lang.String jumpLabel)
Description of the Method |
protected void |
writePaddedString(java.lang.String s,
int length)
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.PrintWriter printer
protected java.lang.String indent
Constructor Detail |
---|
public ActionTextWriter(java.io.PrintWriter printer)
printer
- Description of the ParameterMethod Detail |
---|
protected void print(java.lang.String mnemonic, java.lang.String[] args)
mnemonic
- Description of the Parameterargs
- Description of the Parameterprotected void writePaddedString(java.lang.String s, int length)
s
- Description of the Parameterlength
- Description of the Parameterpublic void start(int conditions) throws java.io.IOException
start
in interface SWFActions
conditions
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void end() throws java.io.IOException
end
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void done() throws java.io.IOException
done
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void blob(byte[] blob) throws java.io.IOException
blob
in interface SWFActions
blob
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void unknown(int code, byte[] data) throws java.io.IOException
unknown
in interface SWFActions
code
- Description of the Parameterdata
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void initArray() throws java.io.IOException
initArray
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void jumpLabel(java.lang.String label) throws java.io.IOException
jumpLabel
in interface SWFActions
label
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void gotoFrame(int frameNumber) throws java.io.IOException
gotoFrame
in interface SWFActions
frameNumber
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void gotoFrame(java.lang.String label) throws java.io.IOException
gotoFrame
in interface SWFActions
label
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void getURL(java.lang.String url, java.lang.String target) throws java.io.IOException
getURL
in interface SWFActions
url
- Description of the Parametertarget
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void nextFrame() throws java.io.IOException
nextFrame
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void prevFrame() throws java.io.IOException
prevFrame
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void play() throws java.io.IOException
play
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void stop() throws java.io.IOException
stop
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void toggleQuality() throws java.io.IOException
toggleQuality
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void stopSounds() throws java.io.IOException
stopSounds
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void setTarget(java.lang.String target) throws java.io.IOException
setTarget
in interface SWFActions
target
- The new target value
java.io.IOException
- Description of the Exceptionpublic void jump(java.lang.String jumpLabel) throws java.io.IOException
jump
in interface SWFActions
jumpLabel
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void ifJump(java.lang.String jumpLabel) throws java.io.IOException
ifJump
in interface SWFActions
jumpLabel
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void waitForFrame(int frameNumber, java.lang.String jumpLabel) throws java.io.IOException
waitForFrame
in interface SWFActions
frameNumber
- Description of the ParameterjumpLabel
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void waitForFrame(java.lang.String jumpLabel) throws java.io.IOException
waitForFrame
in interface SWFActions
jumpLabel
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void pop() throws java.io.IOException
pop
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void push(java.lang.String value) throws java.io.IOException
push
in interface SWFActions
value
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void push(float value) throws java.io.IOException
push
in interface SWFActions
value
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void push(double value) throws java.io.IOException
push
in interface SWFActions
value
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void pushNull() throws java.io.IOException
pushNull
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void pushRegister(int registerNumber) throws java.io.IOException
pushRegister
in interface SWFActions
registerNumber
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void push(boolean value) throws java.io.IOException
push
in interface SWFActions
value
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void push(int value) throws java.io.IOException
push
in interface SWFActions
value
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void lookup(int dictionaryIndex) throws java.io.IOException
lookup
in interface SWFActions
dictionaryIndex
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void add() throws java.io.IOException
add
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void substract() throws java.io.IOException
substract
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void multiply() throws java.io.IOException
multiply
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void divide() throws java.io.IOException
divide
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void equals() throws java.io.IOException
equals
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void lessThan() throws java.io.IOException
lessThan
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void and() throws java.io.IOException
and
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void or() throws java.io.IOException
or
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void not() throws java.io.IOException
not
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void stringEquals() throws java.io.IOException
stringEquals
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void stringLength() throws java.io.IOException
stringLength
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void concat() throws java.io.IOException
concat
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void substring() throws java.io.IOException
substring
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void stringLessThan() throws java.io.IOException
stringLessThan
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void stringLengthMB() throws java.io.IOException
stringLengthMB
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void substringMB() throws java.io.IOException
substringMB
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void toInteger() throws java.io.IOException
toInteger
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void charToAscii() throws java.io.IOException
charToAscii
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void asciiToChar() throws java.io.IOException
asciiToChar
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void charMBToAscii() throws java.io.IOException
charMBToAscii
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void asciiToCharMB() throws java.io.IOException
asciiToCharMB
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void call() throws java.io.IOException
call
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void getVariable() throws java.io.IOException
getVariable
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void setVariable() throws java.io.IOException
setVariable
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void getURL(int sendVars, int loadMode) throws java.io.IOException
getURL
in interface SWFActions
sendVars
- Description of the ParameterloadMode
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void gotoFrame(boolean play) throws java.io.IOException
gotoFrame
in interface SWFActions
play
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void setTarget() throws java.io.IOException
setTarget
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void getProperty() throws java.io.IOException
getProperty
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void setProperty() throws java.io.IOException
setProperty
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void cloneSprite() throws java.io.IOException
cloneSprite
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void removeSprite() throws java.io.IOException
removeSprite
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void startDrag() throws java.io.IOException
startDrag
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void endDrag() throws java.io.IOException
endDrag
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void trace() throws java.io.IOException
trace
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void getTime() throws java.io.IOException
getTime
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void randomNumber() throws java.io.IOException
randomNumber
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void lookupTable(java.lang.String[] values) throws java.io.IOException
lookupTable
in interface SWFActions
values
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void callFunction() throws java.io.IOException
callFunction
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void callMethod() throws java.io.IOException
callMethod
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void startFunction(java.lang.String name, java.lang.String[] paramNames) throws java.io.IOException
startFunction
in interface SWFActions
name
- Description of the ParameterparamNames
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void endBlock() throws java.io.IOException
endBlock
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void comment(java.lang.String comment) throws java.io.IOException
comment
in interface SWFActions
comment
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void defineLocalValue() throws java.io.IOException
defineLocalValue
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void defineLocal() throws java.io.IOException
defineLocal
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void deleteProperty() throws java.io.IOException
deleteProperty
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void deleteThreadVars() throws java.io.IOException
deleteThreadVars
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void enumerate() throws java.io.IOException
enumerate
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void typedEquals() throws java.io.IOException
typedEquals
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void getMember() throws java.io.IOException
getMember
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void initObject() throws java.io.IOException
initObject
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void newMethod() throws java.io.IOException
newMethod
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void newObject() throws java.io.IOException
newObject
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void setMember() throws java.io.IOException
setMember
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void getTargetPath() throws java.io.IOException
getTargetPath
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void startWith() throws java.io.IOException
startWith
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void duplicate() throws java.io.IOException
duplicate
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void returnValue() throws java.io.IOException
returnValue
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void swap() throws java.io.IOException
swap
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void storeInRegister(int registerNumber) throws java.io.IOException
storeInRegister
in interface SWFActions
registerNumber
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void convertToNumber() throws java.io.IOException
convertToNumber
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void convertToString() throws java.io.IOException
convertToString
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void typeOf() throws java.io.IOException
typeOf
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void typedAdd() throws java.io.IOException
typedAdd
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void typedLessThan() throws java.io.IOException
typedLessThan
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void modulo() throws java.io.IOException
modulo
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void bitAnd() throws java.io.IOException
bitAnd
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void bitOr() throws java.io.IOException
bitOr
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void bitXor() throws java.io.IOException
bitXor
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void shiftLeft() throws java.io.IOException
shiftLeft
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void shiftRight() throws java.io.IOException
shiftRight
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void shiftRightUnsigned() throws java.io.IOException
shiftRightUnsigned
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void decrement() throws java.io.IOException
decrement
in interface SWFActions
java.io.IOException
- Description of the Exceptionpublic void increment() throws java.io.IOException
increment
in interface SWFActions
java.io.IOException
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |