|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.flagstone.transform.MovieMetaData
public final class MovieMetaData
MetaData is used to add a user-defined information into a Flash file. The information uses the Resource Description Format (RDF) and is compliant with Adobe's Extensible Metadata Platform, see http://www.adobe.com/products/xmp.
Constructor Summary | |
---|---|
MovieMetaData(MovieMetaData object)
Creates and initialises a MovieMetaData object using the values copied from another MovieMetaData object. |
|
MovieMetaData(String aString)
Creates a MoveMetaData object with the specified string containing the meta-data for the movie. |
|
MovieMetaData(SWFDecoder coder)
Creates and initialises a MoveMetaData object using values encoded in the Flash binary format. |
Method Summary | |
---|---|
MovieMetaData |
copy()
Creates a complete copy of this object. |
void |
encode(SWFEncoder coder,
Context context)
Encode an object to the Flash binary format. |
String |
getMetaData()
Get the meta-data for the movie. |
int |
prepareToEncode(Context context)
Prepare an object for encoding, returning the expected size of an object when it is encoded. |
void |
setMetaData(String aString)
Set the meta-data for the movie. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MovieMetaData(SWFDecoder coder) throws IOException
coder
- an SWFDecoder object that contains the encoded Flash data.
IOException
- if an error occurs while decoding the data.public MovieMetaData(String aString)
aString
- an arbitrary string containing the meta-data. Must not be
null.public MovieMetaData(MovieMetaData object)
object
- a MovieMetaData object from which the values will be
copied.Method Detail |
---|
public String getMetaData()
public void setMetaData(String aString)
aString
- a string containing the meta-data.public MovieMetaData copy()
copy
in interface Copyable<MovieTag>
public String toString()
toString
in class Object
public int prepareToEncode(Context context)
prepareToEncode
in interface SWFEncodeable
context
- an Context that allows information to be passed between
objects to control how they are initialised for encoding.
public void encode(SWFEncoder coder, Context context) throws IOException
encode
in interface SWFEncodeable
coder
- an SWFEncoder object.context
- an Context that allows information to be passed between
objects to control how they are initialised for encoding.
IOException
- if an error occurs while encoding the object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |