|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.custom.media.util.MediaUtil
public class MediaUtil
This class acts as a helper for the Media component.
| Constructor Summary | |
|---|---|
MediaUtil()
|
|
| Method Summary | |
|---|---|
static void |
generateEmbedTag(javax.faces.context.FacesContext context,
MediaComponent mediaComponent)
This method is used for generating the EMBED Tag from the mediaComponent attributes. |
static void |
generateImageTag(javax.faces.context.FacesContext context,
MediaComponent mediaComponent)
This method is used for generating the IMG tag from the mediaComponent attributes. |
static boolean |
isImage(java.lang.String uri)
This method checks whether the passed uri contains image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaUtil()
| Method Detail |
|---|
public static boolean isImage(java.lang.String uri)
uri -
public static void generateEmbedTag(javax.faces.context.FacesContext context,
MediaComponent mediaComponent)
throws java.io.IOException
context - mediaComponent -
java.io.IOException
public static void generateImageTag(javax.faces.context.FacesContext context,
MediaComponent mediaComponent)
throws java.io.IOException
context - mediaComponent -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||