|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.locomotive.util.INet
Holds library calls for internet-related networking stuff. Links in liblevinet.so for native calls to support the verification of email addresses via DNS. Potential source for problems here (hanging from threads built up waiting for long-to-timeout DNS lookups) so watch the hell out.
Constructor Summary | |
INet()
|
Method Summary | |
static boolean |
verifyDomain(java.lang.String domain)
Verify, via a native DNS call, that the given domain exists. |
static boolean |
verifyEmailAddress(java.lang.String email)
Expects a full user@domain format address, not just domain. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public INet()
Method Detail |
public static boolean verifyEmailAddress(java.lang.String email)
email
- the string containing the email address to be looked upStringConstraint
public static boolean verifyDomain(java.lang.String domain)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |