|
||||||||||
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(String fileName,
byte[] data,
String type)
Creates a new FileAttachement object. |
Method Summary | |
---|---|
byte[] |
getData()
|
String |
getFileName()
|
String |
getType()
return the file content-type |
void |
setData(byte[] data)
set the content of the fileAttachement object |
void |
setFileName(String fileName)
set the file name |
void |
setType(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(String fileName, byte[] data, String type)
fileName
- the file namedata
- The datatype
- The file Content-typeMethod Detail |
---|
public byte[] getData()
public void setData(byte[] data)
data
- the content of the fileAttachement objectpublic String getFileName()
public void setFileName(String fileName)
fileName
- the file namepublic String getType()
public void setType(String type)
type
- the file content-type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |