A C D E F G H I M P R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- apply(Throwable) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Chooses a single throwable from the cause chain that will be formatted.
- apply(Throwable) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Identifies a single throwable that best describes the given throwable and the entire cause chain.
- apply(LogRecord, LogRecord) - Method in class com.sun.mail.util.logging.CollectorFormatter
-
Used to choose the collected LogRecord.
- applyThenCompare(Throwable, Throwable) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Reduceseach throwable chain argument then compare each throwable result.
C
- clone() - Method in class com.sun.mail.util.logging.DurationFilter
-
Creates a copy of this filter that retains the filter settings but does not include the current filter state.
- close() - Method in class com.sun.mail.util.logging.MailHandler
-
Prevents any other records from being published.
- CollectorFormatter - Class in com.sun.mail.util.logging
-
A LogRecord formatter that takes a sequence of LogRecords and combines them into a single summary result.
- CollectorFormatter() - Constructor for class com.sun.mail.util.logging.CollectorFormatter
-
Creates the formatter using the LogManager defaults.
- CollectorFormatter(String) - Constructor for class com.sun.mail.util.logging.CollectorFormatter
-
Creates the formatter using the given format.
- CollectorFormatter(String, Formatter, Comparator<? super LogRecord>) - Constructor for class com.sun.mail.util.logging.CollectorFormatter
-
Creates the formatter using the given values.
- com.sun.mail.util.logging - module com.sun.mail.util.logging
- com.sun.mail.util.logging - package com.sun.mail.util.logging
-
Contains Jakarta Mail extensions for the Java™ platform's core logging facilities.
- CompactFormatter - Class in com.sun.mail.util.logging
-
A plain text formatter that can produce fixed width output.
- CompactFormatter() - Constructor for class com.sun.mail.util.logging.CompactFormatter
-
Creates an instance with a default format pattern.
- CompactFormatter(String) - Constructor for class com.sun.mail.util.logging.CompactFormatter
-
Creates an instance with the given format pattern.
- compare(LogRecord, LogRecord) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Compares two log records based on severity.
- compareThrowable(Throwable, Throwable) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Compares two throwable objects or null.
D
- DurationFilter - Class in com.sun.mail.util.logging
-
A filter used to limit log records based on a maximum generation rate.
- DurationFilter() - Constructor for class com.sun.mail.util.logging.DurationFilter
-
Creates the filter using the default properties.
- DurationFilter(long, long) - Constructor for class com.sun.mail.util.logging.DurationFilter
-
Creates the filter using the given properties.
E
- equals(Object) - Method in class com.sun.mail.util.logging.DurationFilter
-
Determines if this filter is equal to another filter.
- equals(Object) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Determines if the given object is also a comparator and it imposes the same ordering as this comparator.
F
- finish(String) - Method in class com.sun.mail.util.logging.CollectorFormatter
-
Applied to the head, format, and tail returned by the target formatter.
- flush() - Method in class com.sun.mail.util.logging.MailHandler
-
Pushes any buffered records to the email server as normal priority.
- format(LogRecord) - Method in class com.sun.mail.util.logging.CollectorFormatter
-
Accumulates log records which will be used to produce the final output.
- format(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Format the given log record and returns the formatted string.
- formatBackTrace(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the back trace for the given log record.
- formatError(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the thrown property of a LogRecord as an error message.
- formatLevel(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the level property of the given log record.
- formatLoggerName(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the logger name property of the given log record.
- formatMessage(Throwable) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the message from the thrown property of the log record.
- formatMessage(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats message for the log record.
- formatSource(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the source from the given log record.
- formatThreadID(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the thread id property of the given log record.
- formatThrown(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the thrown property of a LogRecord.
G
- getAttachmentFilters() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the attachment filters.
- getAttachmentFormatters() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the attachment formatters.
- getAttachmentNames() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the attachment name formatters.
- getAuthenticator() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the
Authenticatorused to login to the email server. - getCapacity() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the number of log records the internal buffer can hold.
- getComparator() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the comparator used to order all
LogRecordobjects prior to formatting. - getEncoding() - Method in class com.sun.mail.util.logging.MailHandler
-
Return the character encoding for this
Handler. - getErrorManager() - Method in class com.sun.mail.util.logging.MailHandler
-
Retrieves the ErrorManager for this Handler.
- getFilter() - Method in class com.sun.mail.util.logging.MailHandler
-
Get the current
Filterfor thisHandler. - getFormatter() - Method in class com.sun.mail.util.logging.MailHandler
-
Return the
Formatterfor thisHandler. - getLevel() - Method in class com.sun.mail.util.logging.MailHandler
-
Get the log level specifying which messages will be logged by this
Handler. - getMailProperties() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets a copy of the mail properties used for the session.
- getPushFilter() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the push filter.
- getPushLevel() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the push level.
- getSubject() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the formatter used to create the subject line.
- getTail(Handler) - Method in class com.sun.mail.util.logging.CollectorFormatter
-
Formats the collected LogRecord and summary statistics.
H
- hashCode() - Method in class com.sun.mail.util.logging.DurationFilter
-
Returns a hash code value for this filter.
- hashCode() - Method in class com.sun.mail.util.logging.SeverityComparator
-
Returns a hash code value for the object.
I
- ignore(StackTraceElement) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Determines if a stack frame should be ignored as the cause of an error.
- isIdle() - Method in class com.sun.mail.util.logging.DurationFilter
-
Determines if this filter is able to accept the maximum number of log records for this instant in time.
- isLoggable() - Method in class com.sun.mail.util.logging.DurationFilter
-
Determines if this filter will accept log records for this instant in time.
- isLoggable(LogRecord) - Method in class com.sun.mail.util.logging.DurationFilter
-
Check if the given log record should be published.
- isLoggable(LogRecord) - Method in class com.sun.mail.util.logging.MailHandler
-
Check if this
Handlerwould actually log a givenLogRecordinto its internal buffer. - isNormal(Throwable) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Determines if the given throwable instance is "normal occurrence".
M
- MailHandler - Class in com.sun.mail.util.logging
-
Handlerthat formats log records as an email message. - MailHandler() - Constructor for class com.sun.mail.util.logging.MailHandler
-
Creates a
MailHandlerthat is configured by theLogManagerconfiguration properties. - MailHandler(int) - Constructor for class com.sun.mail.util.logging.MailHandler
-
Creates a
MailHandlerthat is configured by theLogManagerconfiguration properties but overrides theLogManagercapacity with the given capacity. - MailHandler(Properties) - Constructor for class com.sun.mail.util.logging.MailHandler
-
Creates a mail handler with the given mail properties.
P
- postConstruct() - Method in class com.sun.mail.util.logging.MailHandler
-
A callback method for when this object is about to be placed into commission.
- preDestroy() - Method in class com.sun.mail.util.logging.MailHandler
-
A callback method for when this object is about to be decommissioned.
- publish(LogRecord) - Method in class com.sun.mail.util.logging.MailHandler
-
Stores a
LogRecordin the internal buffer. - push() - Method in class com.sun.mail.util.logging.MailHandler
-
Pushes any buffered records to the email server as high importance with urgent priority.
R
- reportError(String, Exception, int) - Method in class com.sun.mail.util.logging.MailHandler
-
Protected convenience method to report an error to this Handler's ErrorManager.
S
- setAttachmentFilters(Filter...) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the attachment filters.
- setAttachmentFormatters(Formatter...) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the attachment
Formatterobject for this handler. - setAttachmentNames(String...) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the attachment file name for each attachment.
- setAttachmentNames(Formatter...) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the attachment file name formatters.
- setAuthenticator(char...) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the
Authenticatorused to login to the email server. - setAuthenticator(Authenticator) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the
Authenticatorused to login to the email server. - setComparator(Comparator<? super LogRecord>) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the comparator used to order all
LogRecordobjects prior to formatting. - setEncoding(String) - Method in class com.sun.mail.util.logging.MailHandler
-
Set the character encoding used by this
Handler. - setErrorManager(ErrorManager) - Method in class com.sun.mail.util.logging.MailHandler
-
Define an ErrorManager for this Handler.
- setFilter(Filter) - Method in class com.sun.mail.util.logging.MailHandler
-
Set a
Filterto control output on thisHandler. - setFormatter(Formatter) - Method in class com.sun.mail.util.logging.MailHandler
-
Set a
Formatter. - setLevel(Level) - Method in class com.sun.mail.util.logging.MailHandler
-
Set the log level specifying which message levels will be logged by this
Handler. - setMailProperties(Properties) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the mail properties used for the session.
- setPushFilter(Filter) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the push filter.
- setPushLevel(Level) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the push level.
- setSubject(String) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets a literal string for the email subject.
- setSubject(Formatter) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the subject formatter for email.
- SeverityComparator - Class in com.sun.mail.util.logging
-
Orders log records by level, thrown, sequence, and time.
- SeverityComparator() - Constructor for class com.sun.mail.util.logging.SeverityComparator
T
- toAlternate(String) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Defines the alternate format.
- toString() - Method in class com.sun.mail.util.logging.CollectorFormatter
-
Formats the collected LogRecord and summary statistics.
- toString() - Method in class com.sun.mail.util.logging.DurationFilter
-
Returns a string representation of this filter.
All Classes All Packages