How do I parse a comma-separated list of newsgroups into an array of Address objects?

John Zukowski

The NewsAddress class in the javax.mail.internet package can do this for you:

public static NewsAddress[] parse(String newsgroups)
  throws AddressException
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact