public class SubethaEmailMessagePart extends Object implements EmailMessagePart
Modifier | Constructor and Description |
---|---|
protected |
SubethaEmailMessagePart() |
|
SubethaEmailMessagePart(Part messagePart)
Object can be built on existing message part only.
|
|
SubethaEmailMessagePart(Part messagePart,
String fileName) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getContent() |
String |
getContentType() |
String |
getEncoding() |
String |
getFileName() |
int |
getSize() |
void |
setRmiRegistry(String rmiRegistryHost,
int rmiRegistryPort) |
protected SubethaEmailMessagePart()
public SubethaEmailMessagePart(Part messagePart)
messagePart
- Message part.public InputStream getContent()
getContent
in interface EmailMessagePart
public String getContentType()
getContentType
in interface EmailMessagePart
public String getEncoding()
getEncoding
in interface EmailMessagePart
public String getFileName()
getFileName
in interface EmailMessagePart
public int getSize()
getSize
in interface EmailMessagePart
public void setRmiRegistry(String rmiRegistryHost, int rmiRegistryPort)
Copyright © 2005–2017 Alfresco Software. All rights reserved.