|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mail.util.PropUtil
public class PropUtil
Utilities to make it easier to get property values. Properties can be strings or type-specific value objects.
Method Summary | |
---|---|
static boolean |
getBooleanProperty(java.util.Properties props,
java.lang.String name,
boolean def)
Get a boolean valued property. |
static boolean |
getBooleanSessionProperty(javax.mail.Session session,
java.lang.String name,
boolean def)
Get a boolean valued property. |
static boolean |
getBooleanSystemProperty(java.lang.String name,
boolean def)
Get a boolean valued System property. |
static int |
getIntProperty(java.util.Properties props,
java.lang.String name,
int def)
Get an integer valued property. |
static int |
getIntSessionProperty(javax.mail.Session session,
java.lang.String name,
int def)
Get an integer valued property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int getIntProperty(java.util.Properties props, java.lang.String name, int def)
public static boolean getBooleanProperty(java.util.Properties props, java.lang.String name, boolean def)
public static int getIntSessionProperty(javax.mail.Session session, java.lang.String name, int def)
public static boolean getBooleanSessionProperty(javax.mail.Session session, java.lang.String name, boolean def)
public static boolean getBooleanSystemProperty(java.lang.String name, boolean def)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |