org.silverpeas.media.web
Class MediaDefinitionEntity
java.lang.Object
org.silverpeas.media.web.MediaDefinitionEntity
public class MediaDefinitionEntity
- extends Object
- Author:
- Yohann Chastagnier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaDefinitionEntity
protected MediaDefinitionEntity()
createFrom
public static MediaDefinitionEntity createFrom(Definition definition)
- Creates a new media definition entity from the specified definition.
- Parameters:
definition
-
- Returns:
- the entity representing the specified definition.
getHeight
public int getHeight()
- Returns:
- the height
getWidth
public int getWidth()
- Returns:
- the width
Copyright © 2016 Silverpeas. All Rights Reserved.