|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.util.mail.FileAttachment
public class FileAttachment
File Attachement Object
| Constructor Summary | |
|---|---|
FileAttachment(java.lang.String fileName,
byte[] data,
java.lang.String type)
Creates a new FileAttachement object. |
|
| Method Summary | |
|---|---|
byte[] |
getData()
|
java.lang.String |
getFileName()
|
java.lang.String |
getType()
return the file content-type |
void |
setData(byte[] data)
set the content of the fileAttachement object |
void |
setFileName(java.lang.String fileName)
set the file name |
void |
setType(java.lang.String type)
set the file content-type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileAttachment(java.lang.String fileName,
byte[] data,
java.lang.String type)
fileName - the file namedata - The datatype - The file Content-type| Method Detail |
|---|
public byte[] getData()
public void setData(byte[] data)
data - the content of the fileAttachement objectpublic java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName - the file namepublic java.lang.String getType()
public void setType(java.lang.String type)
type - the file content-type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||