|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.quiz.business.images.QuizImage
public class QuizImage
Image for quiz
| Constructor Summary | |
|---|---|
QuizImage()
Default constructor |
|
QuizImage(byte[] bArrayContent,
String strContentType)
Constructor with every parameters initialized |
|
QuizImage(int nIdImage,
byte[] bArrayContent,
String strContentType)
Constructor with every parameters initialized |
|
| Method Summary | |
|---|---|
byte[] |
getContent()
Get the content of the image |
String |
getContentType()
Get the content type of the image |
int |
getIdImage()
Get the id of the image |
void |
setContent(byte[] bArrayContent)
Set the content of the image |
void |
setContentType(String strContentType)
Set the content type of the image |
void |
setIdImage(int nIdImage)
Set the id of the image |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuizImage()
public QuizImage(byte[] bArrayContent,
String strContentType)
bArrayContent - The content of the imagestrContentType - The content type
public QuizImage(int nIdImage,
byte[] bArrayContent,
String strContentType)
nIdImage - The id of the imagebArrayContent - The content of the imagestrContentType - The content type| Method Detail |
|---|
public int getIdImage()
public void setIdImage(int nIdImage)
nIdImage - The id of the imagepublic byte[] getContent()
public void setContent(byte[] bArrayContent)
bArrayContent - The content of the imagepublic String getContentType()
public void setContentType(String strContentType)
strContentType - The content type of the image
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||