- ClearAllButton - Class in com.nilhcem.fakesmtp.gui.info
-
Button to clear all the information from the main panel.
- ClearAllButton() - Constructor for class com.nilhcem.fakesmtp.gui.info.ClearAllButton
-
Creates the "clear all" button"
- com.nilhcem.fakesmtp - package com.nilhcem.fakesmtp
-
Entry point of the application.
- com.nilhcem.fakesmtp.core - package com.nilhcem.fakesmtp.core
-
Provides core methods to get the configuration of the project or i18n messages.
- com.nilhcem.fakesmtp.core.exception - package com.nilhcem.fakesmtp.core.exception
-
Contains general exception classes thrown in the project.
- com.nilhcem.fakesmtp.gui - package com.nilhcem.fakesmtp.gui
-
Provides the main GUI components (main JFrame, JPanel, MenuBar...).
- com.nilhcem.fakesmtp.gui.info - package com.nilhcem.fakesmtp.gui.info
-
Provides all the GUI components from the main panel, which are not inside the tabbed pane component.
- com.nilhcem.fakesmtp.gui.tab - package com.nilhcem.fakesmtp.gui.tab
-
Provides all the GUI components in the tabbed pane.
- com.nilhcem.fakesmtp.log - package com.nilhcem.fakesmtp.log
-
Provides a Logback appender and an observable object to redirect logs to the GUI.
- com.nilhcem.fakesmtp.model - package com.nilhcem.fakesmtp.model
-
Models used in the application to contain emails or component fields information.
- com.nilhcem.fakesmtp.server - package com.nilhcem.fakesmtp.server
-
Provides services classes for the SMTP server.
- Configuration - Enum in com.nilhcem.fakesmtp.core
-
Contains and returns some project-specific configuration variables.
- get(String) - Method in enum com.nilhcem.fakesmtp.core.Configuration
-
Returns the value of a specific entry from the "configuration.properties
" file.
- get(String) - Method in enum com.nilhcem.fakesmtp.core.I18n
-
Returns the resource for the key passed in parameters.
- get() - Method in class com.nilhcem.fakesmtp.gui.info.ClearAllButton
-
Returns the JButton object.
- get() - Method in class com.nilhcem.fakesmtp.gui.info.NbReceivedLabel
-
Returns the JLabel object.
- get() - Method in class com.nilhcem.fakesmtp.gui.info.PortTextField
-
Returns the JTextField object.
- get() - Method in class com.nilhcem.fakesmtp.gui.info.SaveMsgField
-
Returns the JTextField object.
- get() - Method in class com.nilhcem.fakesmtp.gui.info.StartServerButton
-
Returns the JButton object.
- get() - Method in class com.nilhcem.fakesmtp.gui.MainPanel
-
Returns the JPanel object.
- get() - Method in class com.nilhcem.fakesmtp.gui.MenuBar
-
Returns the JMenuBar object.
- get() - Method in class com.nilhcem.fakesmtp.gui.tab.LastMailPane
-
Returns the JScrollPane object.
- get() - Method in class com.nilhcem.fakesmtp.gui.tab.LogsPane
-
Returns the JScrollPane object.
- get() - Method in class com.nilhcem.fakesmtp.gui.tab.MailsListPane
-
Returns the JScrollPane object.
- getBindAddress() - Method in enum com.nilhcem.fakesmtp.core.ArgsHandler
-
- getEmailStr() - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- getEmlViewer() - Method in enum com.nilhcem.fakesmtp.core.ArgsHandler
-
- getFilePath() - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- getFrom() - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- getListMailsMap() - Method in enum com.nilhcem.fakesmtp.model.UIModel
-
- getLock() - Method in class com.nilhcem.fakesmtp.server.MailSaver
-
Returns a lock object.
- getMailSaver() - Method in enum com.nilhcem.fakesmtp.server.SMTPServerHandler
-
Returns the MailSaver
object.
- getNbMessageReceived() - Method in enum com.nilhcem.fakesmtp.model.UIModel
-
- getObservable() - Method in class com.nilhcem.fakesmtp.log.SMTPLogsAppender
-
Returns the log observable object.
- getOutputDirectory() - Method in enum com.nilhcem.fakesmtp.core.ArgsHandler
-
- getPort() - Method in enum com.nilhcem.fakesmtp.core.ArgsHandler
-
- getPortText() - Method in class com.nilhcem.fakesmtp.gui.MainPanel
-
Returns reference to portText field.
- getReceivedDate() - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- getRelayDomains() - Method in enum com.nilhcem.fakesmtp.model.UIModel
-
- getSaveMsgTextField() - Method in class com.nilhcem.fakesmtp.gui.MainPanel
-
Returns reference to saveMsgTextField.
- getSavePath() - Method in enum com.nilhcem.fakesmtp.model.UIModel
-
- getSmtpServer() - Method in enum com.nilhcem.fakesmtp.server.SMTPServerHandler
-
Returns the SMTPServer
object.
- getSubject() - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- getTo() - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- saveEmailAndNotify(String, String, InputStream) - Method in class com.nilhcem.fakesmtp.server.MailSaver
-
Saves incoming email in file system and notifies observers.
- SaveMsgField - Class in com.nilhcem.fakesmtp.gui.info
-
Text field in which will be written the path where emails will be automatically saved.
- SaveMsgField() - Constructor for class com.nilhcem.fakesmtp.gui.info.SaveMsgField
-
Creates a text field and adds a mouse listener, to display the directory chooser dialog when a user clicks on the field.
- saveToFile(File) - Method in enum com.nilhcem.fakesmtp.core.Configuration
-
Saves configuration to file.
- saveToUserProfile() - Method in enum com.nilhcem.fakesmtp.core.Configuration
-
Saves configuration to the .fakesmtp.properties
file in user profile directory.
- set(String, String) - Method in enum com.nilhcem.fakesmtp.core.Configuration
-
Sets the value of a specific entry.
- setEmailStr(String) - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- setFilePath(String) - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- setFrom(String) - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- setNbMessageReceived(int) - Method in enum com.nilhcem.fakesmtp.model.UIModel
-
- setParentComponent(Component) - Method in class com.nilhcem.fakesmtp.core.exception.UncaughtExceptionHandler
-
Sets the parent component where an error dialog might be displayed.
- setPort(String) - Method in enum com.nilhcem.fakesmtp.model.UIModel
-
- setReceivedDate(Date) - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- setRelayDomains(List<String>) - Method in enum com.nilhcem.fakesmtp.model.UIModel
-
- setSavePath(String) - Method in enum com.nilhcem.fakesmtp.model.UIModel
-
- setSubject(String) - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- setText(String) - Method in class com.nilhcem.fakesmtp.gui.info.PortTextField
-
Sets the specified port in the text field only if this latter is not null
.
- setTo(String) - Method in class com.nilhcem.fakesmtp.model.EmailModel
-
- shouldStartInBackground() - Method in enum com.nilhcem.fakesmtp.core.ArgsHandler
-
- shouldStartServerAtLaunch() - Method in enum com.nilhcem.fakesmtp.core.ArgsHandler
-
- SMTPLogsAppender<E> - Class in com.nilhcem.fakesmtp.log
-
Logback appender class, which will redirect all logs to the LogsPane
object.
- SMTPLogsAppender() - Constructor for class com.nilhcem.fakesmtp.log.SMTPLogsAppender
-
- SMTPLogsObservable - Class in com.nilhcem.fakesmtp.log
-
Provides an observable object to notify the LogsPane
object when a new log is received.
- SMTPLogsObservable() - Constructor for class com.nilhcem.fakesmtp.log.SMTPLogsObservable
-
- SMTPServerHandler - Enum in com.nilhcem.fakesmtp.server
-
Starts and stops the SMTP server.
- startServer(int, InetAddress) - Method in enum com.nilhcem.fakesmtp.server.SMTPServerHandler
-
Starts the server on the port and address specified in parameters.
- StartServerButton - Class in com.nilhcem.fakesmtp.gui.info
-
Button to start the SMTP server.
- StartServerButton() - Constructor for class com.nilhcem.fakesmtp.gui.info.StartServerButton
-
Creates a start button to start the SMTP server.
- stopServer() - Method in enum com.nilhcem.fakesmtp.server.SMTPServerHandler
-
Stops the server.
- valueOf(String) - Static method in enum com.nilhcem.fakesmtp.core.ArgsHandler
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.nilhcem.fakesmtp.core.Configuration
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.nilhcem.fakesmtp.core.I18n
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.nilhcem.fakesmtp.model.UIModel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.nilhcem.fakesmtp.server.SMTPServerHandler
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.nilhcem.fakesmtp.core.ArgsHandler
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.nilhcem.fakesmtp.core.Configuration
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.nilhcem.fakesmtp.core.I18n
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.nilhcem.fakesmtp.model.UIModel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.nilhcem.fakesmtp.server.SMTPServerHandler
-
Returns an array containing the constants of this enum type, in
the order they are declared.