com.sun.mail.dsn
Class Report
java.lang.Object
com.sun.mail.dsn.Report
- Direct Known Subclasses:
- DeliveryStatus, DispositionNotification
public abstract class Report
- extends Object
An abstract report type, to be included in a MultipartReport.
Subclasses define specific report types, such as DeliveryStatus
and DispositionNotification
.
- Since:
- JavaMail 1.4.2
Constructor Summary |
protected |
Report(String type)
Construct a report of the indicated MIME subtype. |
Method Summary |
String |
getType()
Get the MIME subtype of the report. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected String type
Report
protected Report(String type)
- Construct a report of the indicated MIME subtype.
The primary MIME type is always "message".
getType
public String getType()
- Get the MIME subtype of the report.
The primary MIME type is always "message".
Copyright © 2011 Oracle. All Rights Reserved.