|
Lizzy v1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchristophedelory.playlist.asx.Child
christophedelory.playlist.asx.AsxElement
christophedelory.playlist.asx.AsxOrEntryElement
christophedelory.playlist.asx.Asx
public class Asx
A Windows Media metafile. Defines a file as an Advanced Stream Redirector (ASX) file.
| Constructor Summary | |
|---|---|
Asx()
|
|
| Method Summary | |
|---|---|
void |
addAsxElement(AsxElement asxElement)
Adds an ASX element to this container. |
List<AsxElement> |
getAsxElements()
Returns the list of ASX elements defined in this container. |
String |
getBannerBar()
Returns a value indicating whether Windows Media Player reserves space for a banner graphic. |
String |
getPreviewModeString()
Returns a value indicating whether Windows Media Player enters preview mode before playing the first clip. |
SpecificPlaylistProvider |
getProvider()
Returns the provider of this specific playlist. |
String |
getVersion()
Returns the decimal number representing the version number of the syntax for the metafile. |
boolean |
isPreviewMode()
Indicates whether Windows Media Player enters preview mode before playing the first clip. |
void |
setBannerBar(String bannerBar)
Initializes the value indicating whether Windows Media Player reserves space for a banner graphic. |
void |
setPreviewMode(boolean previewMode)
Indicates whether Windows Media Player enters preview mode before playing the first clip. |
void |
setPreviewModeString(String previewMode)
Initializes the value indicating whether Windows Media Player enters preview mode before playing the first clip. |
void |
setProvider(SpecificPlaylistProvider provider)
Initializes the provider of this specific playlist. |
void |
setVersion(String version)
Initializes the decimal number representing the version number of the syntax for the metafile. |
Playlist |
toPlaylist()
Builds a generic representation from this specific playlist. |
void |
writeTo(OutputStream out,
String encoding)
Writes this specific playlist to the specified output stream. |
| Methods inherited from class christophedelory.playlist.asx.AsxOrEntryElement |
|---|
addLogURL, addParam, findParamValue, getAbstract, getAuthor, getBanner, getBase, getCopyright, getLogURLs, getMoreInfo, getParams, getPreviewDuration, getTitle, setAbstract, setAuthor, setBanner, setBase, setCopyright, setMoreInfo, setPreviewDuration, setTitle |
| Methods inherited from class christophedelory.playlist.asx.Child |
|---|
getParent, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Asx()
| Method Detail |
|---|
public void setProvider(SpecificPlaylistProvider provider)
SpecificPlaylist
setProvider in interface SpecificPlaylistprovider - the provider of this playlist. Shall not be null.SpecificPlaylist.getProvider()public SpecificPlaylistProvider getProvider()
SpecificPlaylist
getProvider in interface SpecificPlaylistnull.SpecificPlaylist.setProvider(christophedelory.playlist.SpecificPlaylistProvider)
public void writeTo(OutputStream out,
String encoding)
throws Exception
SpecificPlaylist
writeTo in interface SpecificPlaylistout - an output stream. Shall not be null.encoding - the content encoding of the output resource, or null if not known.
NullPointerException - if out is null.
Exception - if any error occurs during the marshalling process.SpecificPlaylistFactory.readFrom(java.net.URL),
SpecificPlaylistProvider.readFrom(java.io.InputStream, java.lang.String, org.apache.commons.logging.Log)public Playlist toPlaylist()
SpecificPlaylist
toPlaylist in interface SpecificPlaylistnull.SpecificPlaylistProvider.toSpecificPlaylist(christophedelory.playlist.Playlist)public String getVersion()
null.setVersion(java.lang.String)public void setVersion(String version)
version - a version string. Shall not be null.
NullPointerException - if version is null.getVersion()public String getBannerBar()
null.setBannerBar(java.lang.String)public void setBannerBar(String bannerBar)
bannerBar - a banner bar indicator. May be null.getBannerBar()public String getPreviewModeString()
null.setPreviewModeString(java.lang.String),
isPreviewMode()public void setPreviewModeString(String previewMode)
previewMode - a preview mode. May be null.getPreviewModeString(),
setPreviewMode(boolean)public boolean isPreviewMode()
setPreviewMode(boolean),
getPreviewModeString()public void setPreviewMode(boolean previewMode)
previewMode - the preview mode.isPreviewMode(),
setPreviewModeString(java.lang.String)public void addAsxElement(AsxElement asxElement)
AsxElementContainer
addAsxElement in interface AsxElementContainerasxElement - an ASX element. Shall not be nullAsxElementContainer.getAsxElements()public List<AsxElement> getAsxElements()
AsxElementContainer
getAsxElements in interface AsxElementContainernull.AsxElementContainer.addAsxElement(christophedelory.playlist.asx.AsxElement)
|
© 2008-2009 Christophe Delory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||