de.deepamehta.plugins.images
Class Image

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.plugins.images.Image
All Implemented Interfaces:
JSONEnabled

public class Image
extends Object
implements JSONEnabled


Field Summary
private  Long size
           
private  String src
           
private  String type
           
 
Constructor Summary
Image(String src, String mediaType, Long size)
           
 
Method Summary
 Long getSize()
           
 String getSrc()
           
 String getType()
           
 org.codehaus.jettison.json.JSONObject toJSON()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

private final Long size

src

private final String src

type

private final String type
Constructor Detail

Image

public Image(String src,
             String mediaType,
             Long size)
Method Detail

getSize

public Long getSize()

getSrc

public String getSrc()

getType

public String getType()

toJSON

public org.codehaus.jettison.json.JSONObject toJSON()
Specified by:
toJSON in interface JSONEnabled


Copyright © 2013. All Rights Reserved.