public interface ISWCLibrary
Modifier and Type | Method and Description |
---|---|
void |
addDigest(ISWCDigest digest)
Add an
ISWCDigest to the library. |
void |
addNameToKeepAS3MetadataSet(String name)
Adds a metadata name to appear in the
<keep-as3-metadata> tag. |
void |
addScript(ISWCScript script)
Add an
ISWCScript to the library. |
List<ISWCDigest> |
getDigests()
Get the digests of the library.
|
Set<String> |
getKeepAS3MetadataSet()
Gets all the metadata names in the
<keep-as3-metadata> tag. |
String |
getPath()
Get the path of the library SWF file.
|
ISWCScript |
getScript(String name)
Get script by name.
|
List<ISWCScript> |
getScripts()
Get all the
IScript objects in this library. |
ISWF |
getSWF()
Get the SWF model for the library.
|
void |
readSWFInputStream(SWFReader swfReader,
ISWC swc)
Read the
InputStream of the library SWF file. |
String getPath()
List<ISWCScript> getScripts()
IScript
objects in this library.ISWCScript getScript(String name)
name
- script nameSet<String> getKeepAS3MetadataSet()
<keep-as3-metadata>
tag.void addNameToKeepAS3MetadataSet(String name)
<keep-as3-metadata>
tag.name
- A metadata name, like "Bindable"
.void addScript(ISWCScript script)
ISWCScript
to the library.script
- IScript
objectvoid addDigest(ISWCDigest digest)
ISWCDigest
to the library.digest
- ISWCDigest
objectvoid readSWFInputStream(SWFReader swfReader, ISWC swc)
InputStream
of the library SWF file.swfReader
- containing SWFReader
objectswc
- containing ISWC
objectList<ISWCDigest> getDigests()
ISWF getSWF()
Copyright © 2016 The Apache Software Foundation. All rights reserved.