Constructor and Description |
---|
Resource(String content,
javax.mail.internet.ContentType contentType)
Creates a new resource with optional associated content type.
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Gets the content of this resource.
|
javax.mail.internet.ContentType |
getContentType()
Gets the content type of this resource.
|
public String getContent()
public javax.mail.internet.ContentType getContentType()
null
if not specified.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.