de.deepamehta.plugins.images
Class Image
java.lang.Object
de.deepamehta.plugins.images.Image
- All Implemented Interfaces:
- JSONEnabled
public class Image
- extends Object
- implements JSONEnabled
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
size
private final Long size
src
private final String src
type
private final String type
name
private final String name
Image
public Image(String src,
String mediaType,
Long size,
String fileName)
getSize
public Long getSize()
getSrc
public String getSrc()
getType
public String getType()
getName
public String getName()
toJSON
public org.codehaus.jettison.json.JSONObject toJSON()
- Specified by:
toJSON in interface JSONEnabled
Copyright © 2014. All Rights Reserved.