类 javax.mail.internet.AddressException
的使用

使用 AddressException 的软件包
javax.mail.internet Classes specific to Internet mail systems. 
 

javax.mail.internet 中 AddressException 的使用
 

抛出 AddressException 的 javax.mail.internet 中的方法
 InternetAddress[] InternetAddress.getGroup(boolean strict)
          Return the members of a group address.
static NewsAddress[] NewsAddress.parse(String newsgroups)
          Parse the given comma separated sequence of newsgroup into NewsAddress objects.
static InternetAddress[] InternetAddress.parse(String addresslist)
          Parse the given comma separated sequence of addresses into InternetAddress objects.
static InternetAddress[] InternetAddress.parse(String addresslist, boolean strict)
          Parse the given sequence of addresses into InternetAddress objects.
static InternetAddress[] InternetAddress.parseHeader(String addresslist, boolean strict)
          Parse the given sequence of addresses into InternetAddress objects.
 void InternetAddress.validate()
          Validate that this address conforms to the syntax rules of RFC 822.
 

抛出 AddressException 的 javax.mail.internet 中的构造方法
InternetAddress(String address)
          Constructor.
InternetAddress(String address, boolean strict)
          Parse the given string and create an InternetAddress.
 



Copyright © 2013. All Rights Reserved.