org.mmbase.streams.urlcomposers
Class ImagesURLComposer

java.lang.Object
  extended by org.mmbase.applications.media.urlcomposers.URLComposer
      extended by org.mmbase.applications.media.urlcomposers.FragmentURLComposer
          extended by org.mmbase.streams.urlcomposers.ImagesURLComposer

public class ImagesURLComposer
extends FragmentURLComposer

The FragmentURLComposer to make images urls available the same way as audio and video.

Version:
$Id: ImagesURLComposer.java 41615 2010-03-25 15:14:19Z andre $
Author:
Michiel Meeuwissen

Field Summary
(package private)  String description
           
(package private)  String template
           
 
Fields inherited from class org.mmbase.applications.media.urlcomposers.FragmentURLComposer
fragment
 
Fields inherited from class org.mmbase.applications.media.urlcomposers.URLComposer
info, preference, provider, source
 
Constructor Summary
ImagesURLComposer()
           
 
Method Summary
 boolean canCompose()
          Returns true.
 boolean equals(Object o)
           
(package private)  ImageSources getBuilder()
           
 String getDescription()
           
 Dimension getDimension()
           
 int getFilesize()
           
 Format getFormat()
          The format of the produced URL.
 MimeType getMimeType()
          The mime-type of the produced URL.
 State getState()
           
 String getTemplate()
           
protected  StringBuilder getURLBuffer()
          Extension will normally create URL's differently.
 void setDescription(String d)
           
 void setTemplate(String t)
           
 String toString()
           
 
Methods inherited from class org.mmbase.applications.media.urlcomposers.FragmentURLComposer
getFragment, hashCode, init, isAvailable
 
Methods inherited from class org.mmbase.applications.media.urlcomposers.URLComposer
getAcodec, getBitrate, getCodec, getDescription, getFilename, getGUIIndicator, getInfo, getProvider, getSource, getURL, isMain
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

template

String template

description

String description
Constructor Detail

ImagesURLComposer

public ImagesURLComposer()
Method Detail

setTemplate

public void setTemplate(String t)

setDescription

public void setDescription(String d)

getTemplate

public String getTemplate()

getDescription

public String getDescription()

getState

public State getState()
Overrides:
getState in class URLComposer

getBuilder

ImageSources getBuilder()

getMimeType

public MimeType getMimeType()
Description copied from class: URLComposer
The mime-type of the produced URL. This is not necessarily the mimetype of the source. (Though it normally would be)

Overrides:
getMimeType in class URLComposer

getFormat

public Format getFormat()
Description copied from class: URLComposer
The format of the produced URL. This is not necessarily the format of the source. (Though it normally would be)

Overrides:
getFormat in class URLComposer

getDimension

public Dimension getDimension()
Overrides:
getDimension in class URLComposer

getFilesize

public int getFilesize()
Overrides:
getFilesize in class URLComposer

getURLBuffer

protected StringBuilder getURLBuffer()
Description copied from class: URLComposer
Extension will normally create URL's differently. They override this function.

Overrides:
getURLBuffer in class URLComposer

equals

public boolean equals(Object o)
Overrides:
equals in class FragmentURLComposer
See Also:
Object.equals(java.lang.Object)

canCompose

public boolean canCompose()
Description copied from class: URLComposer
Returns true. This can be overridden if the URLComposer not always can do it's job. It then returns false if it is (can be?) taken from consideration.

Overrides:
canCompose in class URLComposer

toString

public String toString()
Overrides:
toString in class URLComposer


MMBase 2.0-SNAPSHOT - null