public class Email extends Resource
Resource.Builder| Modifier and Type | Field and Description |
|---|---|
static String |
HOST_PROPERTY |
static String |
PASSWORD_PROPERTY |
static String |
PORT_PROPERTY |
static List<String> |
TYPES |
static String |
USERNAME_PROPERTY |
NAME_DESCRIPTOR, TYPE_DESCRIPTOR| Modifier | Constructor and Description |
|---|---|
protected |
Email(Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
checkResource(Resource resource)
Checks if a given Resource is a mail endpoint.
|
String |
getHost() |
String |
getPassword() |
int |
getPort() |
String |
getUsername() |
filterProperties, getDescriptor, getDescriptors, getName, getProperties, getProperty, getProperty, getTypepublic static final String HOST_PROPERTY
public static final String PORT_PROPERTY
public static final String USERNAME_PROPERTY
public static final String PASSWORD_PROPERTY
protected Email(Resource resource)
protected static boolean checkResource(Resource resource)
resource - The Resource to be tested.public String getHost()
public int getPort()
public String getUsername()
public String getPassword()
Copyright © 2013. All Rights Reserved.