|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BinaryContent
The Interface BinaryContent.
Method Summary | |
---|---|
String |
getFileName()
Gets the file name. |
byte[] |
getImageContent()
Gets the image content. |
String |
getMimetype()
Gets the mimetype. |
void |
setFileName(String fileName)
Sets the file name. |
void |
setImageContent(byte[] byteArray)
Sets the image content. |
void |
setMimetype(String string)
Sets the mimetype. |
Methods inherited from interface com.hack23.cia.model.api.common.Resource |
---|
getResourceType |
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject |
---|
getId, getTypeContext, getVersion, isNew, setId, setVersion |
Method Detail |
---|
String getFileName()
byte[] getImageContent()
String getMimetype()
void setFileName(String fileName)
fileName
- the new file namevoid setImageContent(byte[] byteArray)
byteArray
- the new image contentvoid setMimetype(String string)
string
- the new mimetype
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |