Class Image
- java.lang.Object
-
- fr.paris.lutece.plugins.wiki.business.Image
-
public class Image extends Object
Image
-
-
Constructor Summary
Constructors Constructor Description Image()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()intgetId()StringgetMimeType()the image mime typeStringgetName()Returns the image nameintgetTopicId()byte[]getValue()get the image file valueintgetWidth()voidsetHeight(int height)voidsetId(int idImage)set the id of the imagevoidsetMimeType(String mimeType)set the image mime typevoidsetName(String strName)Set the image namevoidsetTopicId(int height)voidsetValue(byte[] value)set the image file valuevoidsetWidth(int width)
-
-
-
Method Detail
-
getId
public int getId()
- Returns:
- the id of the image
-
setId
public void setId(int idImage)
set the id of the image- Parameters:
idImage- the id of the image
-
getName
public String getName()
Returns the image name- Returns:
- the image name
-
setName
public void setName(String strName)
Set the image name- Parameters:
strName- the image name
-
getValue
public byte[] getValue()
get the image file value- Returns:
- the image file value
-
setValue
public void setValue(byte[] value)
set the image file value- Parameters:
value- the file value
-
getMimeType
public String getMimeType()
the image mime type- Returns:
- the image mime type
-
setMimeType
public void setMimeType(String mimeType)
set the image mime type- Parameters:
mimeType- the image mime type
-
getTopicId
public int getTopicId()
- Returns:
- the image height
-
setTopicId
public void setTopicId(int height)
- Parameters:
height- the image height
-
getHeight
public int getHeight()
- Returns:
- the image height
-
setHeight
public void setHeight(int height)
- Parameters:
height- the image height
-
getWidth
public int getWidth()
- Returns:
- the image width
-
setWidth
public void setWidth(int width)
- Parameters:
width- the image width
-
-