Class SimpleDocumentMailAttachedFile
- java.lang.Object
-
- org.silverpeas.core.contribution.attachment.model.SimpleDocumentMailAttachedFile
-
- All Implemented Interfaces:
MailContent.AttachedFile
public class SimpleDocumentMailAttachedFile extends Object implements MailContent.AttachedFile
A Document which a mail.- Author:
- silveryocha
-
-
Constructor Summary
Constructors Constructor Description SimpleDocumentMailAttachedFile(SimpleDocument document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
The name of the attached file.String
getPath()
The full path to the file content.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.mail.MailContent.AttachedFile
toBodyPart
-
-
-
-
Constructor Detail
-
SimpleDocumentMailAttachedFile
public SimpleDocumentMailAttachedFile(SimpleDocument document)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:MailContent.AttachedFile
The name of the attached file.- Specified by:
getName
in interfaceMailContent.AttachedFile
- Returns:
- a string.
-
getPath
public String getPath()
Description copied from interface:MailContent.AttachedFile
The full path to the file content.- Specified by:
getPath
in interfaceMailContent.AttachedFile
- Returns:
- a string.
-
-