|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.flagstone.transform.FSTransformObject
com.flagstone.transform.FSMovieObject
com.flagstone.transform.FSSerialNumber
public class FSSerialNumber
FSSerialNumber is used to add a user-defined serial number into a Flash file.
The serial number is simply a string and can contain arbitrary information.
Attributes | |
---|---|
type | Identifies the data structure when it is encoded. Read-only. |
serialNumber | A string containing the serial number. |
movie.add(new FSSerialNumber("1234-DGF-2354"));
The FSSerialNumber represents the SerialNumber tag in the Macromedia Flash (SWF) File Format Specification. It is not known when this tag was introduced.
Field Summary |
---|
Constructor Summary | |
---|---|
FSSerialNumber(FSCoder coder)
Construct an FSSerialNumber object, initialising it with values decoded from an encoded object. |
|
FSSerialNumber(FSSerialNumber obj)
Constructs an FSSerialNumber object by copying values from an existing object. |
|
FSSerialNumber(java.lang.String aString)
Constructs an FSSerialNumber action with the specified string. |
Method Summary | |
---|---|
void |
appendDescription(java.lang.StringBuffer buffer,
int depth)
AppendDescription is used to present a string description of the object including all nested objects up to a specified depth. |
void |
decode(FSCoder coder)
|
void |
encode(FSCoder coder)
|
boolean |
equals(java.lang.Object anObject)
Returns true if anObject is equal to this one. |
java.lang.String |
getSerialNumber()
Gets the serial number. |
int |
length(FSCoder coder)
|
void |
setSerialNumber(java.lang.String aString)
Sets the serial number. |
Methods inherited from class com.flagstone.transform.FSMovieObject |
---|
getType |
Methods inherited from class com.flagstone.transform.FSTransformObject |
---|
clone, name, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FSSerialNumber(FSCoder coder)
coder
- an FSCoder containing the binary data.public FSSerialNumber(java.lang.String aString)
aString
- an arbitrary string containing the serial number.public FSSerialNumber(FSSerialNumber obj)
obj
- an FSSerialNumber object.Method Detail |
---|
public java.lang.String getSerialNumber()
public void setSerialNumber(java.lang.String aString)
aString
- an arbitrary string containing the serial number.public boolean equals(java.lang.Object anObject)
FSMovieObject
equals
in class FSMovieObject
public void appendDescription(java.lang.StringBuffer buffer, int depth)
FSTransformObject
appendDescription
in class FSMovieObject
buffer
- a StringBuffer to which the description of each object is
appended.depth
- the maximum level of nesting up to which objects will be
displayed.public int length(FSCoder coder)
length
in class FSMovieObject
public void encode(FSCoder coder)
encode
in class FSMovieObject
public void decode(FSCoder coder)
decode
in class FSMovieObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |