public class QuizImage extends Object
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public QuizImage()
public QuizImage(byte[] bArrayContent,
String strContentType)
bArrayContent - The content of the imagestrContentType - The content typepublic QuizImage(int nIdImage,
byte[] bArrayContent,
String strContentType)
nIdImage - The id of the imagebArrayContent - The content of the imagestrContentType - The content typepublic 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 imageCopyright © 2019 City of Paris. All rights reserved.