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  String name
           
private  Long size
           
private  String src
           
private  String type
           
 
Constructor Summary
Image(String src, String mediaType, Long size, String fileName)
           
 
Method Summary
 String getName()
           
 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

name

private final String name
Constructor Detail

Image

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

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.