Here you can find the source of convertLinksToStrings(Elements links)
final static protected ArrayList<String> convertLinksToStrings(Elements links)
//package com.java2s; //License from project: Open Source License import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.util.ArrayList; public class Main { final static protected ArrayList<String> convertLinksToStrings(Elements links) { ArrayList<String> result = new ArrayList<String>(); for (Element link : links) { result.add(link.attr("abs:href")); }//from w w w .j a v a 2s .c om return result; } }