Java HTML Parse Jsoup parsePropertyTable(Element table)

Here you can find the source of parsePropertyTable(Element table)

Description

parse Property Table

License

Apache License

Declaration

public static Map<String, String> parsePropertyTable(Element table) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

import java.util.HashMap;

import java.util.Map;

public class Main {
    public static Map<String, String> parsePropertyTable(Element table) {
        Map<String, String> ret = new HashMap<String, String>();
        Elements tr = table.select("tr");
        for (Element element : tr) {
            addProperty(ret, element);/*from w ww.  j a v  a2s . c  om*/
        }
        return ret;
    }

    private static void addProperty(Map<String, String> ret, Element element) {
        throw new UnsupportedOperationException("Fix This"); // ToDo
    }
}

Related

  1. parseByteData(ByteBuffer byteData, String charsetName, String baseUri, Parser parser)
  2. parseEmail(String content)
  3. parseFile(String filePath)
  4. parseInfoBody(Element element)
  5. parseInfoHeader(Element element)
  6. parseTable2ArrayList(Document doc, String selectorRow, String selectorCol)
  7. parseTemplate1_1(Element element)
  8. parseTemplate1_2(Element element)
  9. parseUTF8HTMLDocument(String html)