address = address + _separator; int sep; int last = 0; String na; while ((sep = address.indexOf(_separator)) != -1) { na = address.substring(last, sep); result.add(new NewsAddress(na)); last = sep + _separator.length();
StringTokenizer tokenizer = new StringTokenizer(addresses, ","); while (tokenizer.hasMoreTokens()) { String address = tokenizer.nextToken(); result.add(new NewsAddress(address));
    public static NewsAddress[] parse(String address) throws AddressException {        List result = new LinkedList();        address = address + _separator;        int sep;        int last = 0;        String na;        while ((sep = address.indexOf(_separator)) != -1) {            na = address.substring(last, sep);            result.add(new NewsAddress(na));            last = sep + _separator.length();        }        return (NewsAddress[]) result.toArray(NEWSADDRESS_ARRAY);    }