- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在我的程序中,我使用 Jsoup
连接到 URL 以检索 json
。
这是检索json
的方法[具有subject = example
]:
private void result() throws IOException {
Properties props = new Properties();
props.setProperty("annotators", "tokenize,ssplit,pos,lemma,depparse,natlog,openie");
StanfordCoreNLP pipeline = new StanfordCoreNLP(props);
List<String> list = newsList.getSelectedValuesList();
for (String s : list) {
Annotation doc = new Annotation(s);
pipeline.annotate(doc);
for (CoreMap sentence : doc.get(CoreAnnotations.SentencesAnnotation.class)) {
// Get the OpenIE triples for the sentence
Collection<RelationTriple> triples =
sentence.get(NaturalLogicAnnotations.RelationTriplesAnnotation.class);
// Print the triples
for (RelationTriple triple : triples) {
/* replace space with "_" */
String subject = triple.subjectLemmaGloss().replace(" ", "_");
String object = triple.objectGloss().replace(" ", "_");
String kb = "http://api.conceptnet.io/c/en/" + subject;
Document docKb = Jsoup.connect(kb).get();
String json = docKb.body().text();
Gson gson = new Gson();
Map<String, Object> asMap = gson.fromJson(json.toString(), Map.class);
List<Map<String, Object>> edges = (List) asMap.get("edges");
for (Map<String, Object> edge : edges) {
if (edge.containsKey("surfaceText") && edge.containsKey("weight")) {
txtAreaNews.append(edge.get("surfaceText").toString() + "\n");
txtAreaNews.append("Weight: " + edge.get("weight").toString());
}
txtAreaNews.append("\n");
}
}
}
}
}
这是我从 txtAreaNews.append(docKb.text());
的 URL 检索到的 html
:
ConceptNet 5 API {
"@context": [
"http://api.conceptnet.io/ld/conceptnet5.5/context.ld.json",
"http://api.conceptnet.io/ld/conceptnet5.5/pagination.ld.json"
],
"@id": "/c/en/example",
"edges": [
{
"@id": "/a/[/r/IsA/,/c/en/apology/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/IsA",
"label": "IsA"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/apology/n",
"label": "apology",
"language": "en",
"sense_label": "n",
"term": "/c/en/apology"
},
"surfaceText": "[[apology]] is a type of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/IsA/,/c/en/example/n/,/c/en/admonition/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/admonition/n",
"label": "admonition",
"language": "en",
"sense_label": "n",
"term": "/c/en/admonition"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/IsA",
"label": "IsA"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"surfaceText": "[[example]] is a type of [[admonition]]",
"weight": 2.0
},
{
"@id": "/a/[/r/IsA/,/c/en/example/n/,/c/en/information/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/information/n",
"label": "information",
"language": "en",
"sense_label": "n",
"term": "/c/en/information"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/IsA",
"label": "IsA"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"surfaceText": "[[example]] is a type of [[information]]",
"weight": 2.0
},
{
"@id": "/a/[/r/IsA/,/c/en/exception/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/IsA",
"label": "IsA"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/exception/n",
"label": "exception",
"language": "en",
"sense_label": "n",
"term": "/c/en/exception"
},
"surfaceText": "[[exception]] is a type of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/IsA/,/c/en/precedent/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/IsA",
"label": "IsA"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/precedent/n",
"label": "precedent",
"language": "en",
"sense_label": "n",
"term": "/c/en/precedent"
},
"surfaceText": "[[precedent]] is a type of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/IsA/,/c/en/quintessence/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/IsA",
"label": "IsA"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/quintessence/n",
"label": "quintessence",
"language": "en",
"sense_label": "n",
"term": "/c/en/quintessence"
},
"surfaceText": "[[quintessence]] is a type of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/IsA/,/c/en/sample/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/IsA",
"label": "IsA"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/sample/n",
"label": "sample",
"language": "en",
"sense_label": "n",
"term": "/c/en/sample"
},
"surfaceText": "[[sample]] is a type of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/IsA/,/c/en/specimen/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/IsA",
"label": "IsA"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/specimen/n",
"label": "specimen",
"language": "en",
"sense_label": "n",
"term": "/c/en/specimen"
},
"surfaceText": "[[specimen]] is a type of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/RelatedTo/,/c/en/exemplary/a/,/c/en/example/]",
"dataset": "/d/wiktionary/en",
"end": {
"@id": "/c/en/example",
"label": "example",
"language": "en",
"term": "/c/en/example"
},
"license": "cc:by-sa/4.0",
"rel": {
"@id": "/r/RelatedTo",
"label": "RelatedTo"
},
"sources": [
{
"@id": "/and/[/s/process/wikiparsec/1/,/s/resource/wiktionary/en/]",
"contributor": "/s/resource/wiktionary/en",
"process": "/s/process/wikiparsec/1"
},
{
"@id": "/and/[/s/process/wikiparsec/1/,/s/resource/wiktionary/fr/]",
"contributor": "/s/resource/wiktionary/fr",
"process": "/s/process/wikiparsec/1"
}
],
"start": {
"@id": "/c/en/exemplary/a",
"label": "exemplary",
"language": "en",
"sense_label": "a",
"term": "/c/en/exemplary"
},
"surfaceText": null,
"weight": 2.0
},
{
"@id": "/a/[/r/RelatedTo/,/c/en/exemplify/v/,/c/en/example/]",
"dataset": "/d/wiktionary/en",
"end": {
"@id": "/c/en/example",
"label": "example",
"language": "en",
"term": "/c/en/example"
},
"license": "cc:by-sa/4.0",
"rel": {
"@id": "/r/RelatedTo",
"label": "RelatedTo"
},
"sources": [
{
"@id": "/and/[/s/process/wikiparsec/1/,/s/resource/wiktionary/en/]",
"contributor": "/s/resource/wiktionary/en",
"process": "/s/process/wikiparsec/1"
},
{
"@id": "/and/[/s/process/wikiparsec/1/,/s/resource/wiktionary/fr/]",
"contributor": "/s/resource/wiktionary/fr",
"process": "/s/process/wikiparsec/1"
}
],
"start": {
"@id": "/c/en/exemplify/v",
"label": "exemplify",
"language": "en",
"sense_label": "v",
"term": "/c/en/exemplify"
},
"surfaceText": null,
"weight": 2.0
},
{
"@id": "/a/[/r/Synonym/,/c/ar/مِثَال/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/Synonym",
"label": "Synonym"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/ar/مِثَال/n",
"label": "مِثَال",
"language": "ar",
"sense_label": "n",
"term": "/c/ar/مِثَال"
},
"surfaceText": "[[مِثَال]] is a translation of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/Synonym/,/c/ar/مَثَل/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/Synonym",
"label": "Synonym"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/ar/مَثَل/n",
"label": "مَثَل",
"language": "ar",
"sense_label": "n",
"term": "/c/ar/مَثَل"
},
"surfaceText": "[[مَثَل]] is a translation of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/Synonym/,/c/ca/escarment/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/Synonym",
"label": "Synonym"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/ca/escarment/n",
"label": "escarment",
"language": "ca",
"sense_label": "n",
"term": "/c/ca/escarment"
},
"surfaceText": "[[escarment]] is a translation of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/Synonym/,/c/ca/exemple/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/Synonym",
"label": "Synonym"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/ca/exemple/n",
"label": "exemple",
"language": "ca",
"sense_label": "n",
"term": "/c/ca/exemple"
},
"surfaceText": "[[exemple]] is a translation of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/Synonym/,/c/ca/lliçó/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/Synonym",
"label": "Synonym"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/ca/lliçó/n",
"label": "lliçó",
"language": "ca",
"sense_label": "n",
"term": "/c/ca/lliçó"
},
"surfaceText": "[[lliçó]] is a translation of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/Synonym/,/c/da/eksempel/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/Synonym",
"label": "Synonym"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/da/eksempel/n",
"label": "eksempel",
"language": "da",
"sense_label": "n",
"term": "/c/da/eksempel"
},
"surfaceText": "[[eksempel]] is a translation of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/Synonym/,/c/en/deterrent_example/n/,/c/en/example/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/Synonym",
"label": "Synonym"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/deterrent_example/n",
"label": "deterrent example",
"language": "en",
"sense_label": "n",
"term": "/c/en/deterrent_example"
},
"surfaceText": "[[deterrent example]] is a synonym of [[example]]",
"weight": 2.0
},
{
"@id": "/a/[/r/Synonym/,/c/en/example/n/,/c/en/case/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/case/n",
"label": "case",
"language": "en",
"sense_label": "n",
"term": "/c/en/case"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/Synonym",
"label": "Synonym"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"surfaceText": "[[example]] is a synonym of [[case]]",
"weight": 2.0
},
{
"@id": "/a/[/r/Synonym/,/c/en/example/n/,/c/en/exemplar/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/exemplar/n",
"label": "exemplar",
"language": "en",
"sense_label": "n",
"term": "/c/en/exemplar"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/Synonym",
"label": "Synonym"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"surfaceText": "[[example]] is a synonym of [[exemplar]]",
"weight": 2.0
},
{
"@id": "/a/[/r/Synonym/,/c/en/example/n/,/c/en/exercise/n/]",
"dataset": "/d/wordnet/3.1",
"end": {
"@id": "/c/en/exercise/n",
"label": "exercise",
"language": "en",
"sense_label": "n",
"term": "/c/en/exercise"
},
"license": "cc:by/4.0",
"rel": {
"@id": "/r/Synonym",
"label": "Synonym"
},
"sources": [
{
"@id": "/s/resource/wordnet/rdf/3.1",
"contributor": "/s/resource/wordnet/rdf/3.1"
}
],
"start": {
"@id": "/c/en/example/n",
"label": "example",
"language": "en",
"sense_label": "n",
"term": "/c/en/example"
},
"surfaceText": "[[example]] is a synonym of [[exercise]]",
"weight": 2.0
}
],
"view": {
"@id": "/c/en/example?offset=0&limit=20",
"firstPage": "/c/en/example?offset=0&limit=20",
"nextPage": "/c/en/example?offset=20&limit=20",
"paginatedProperty": "edges"
}
}
为 null 的 surfaceText
示例:
{
"@id": "/a/[/r/RelatedTo/,/c/en/exemplary/a/,/c/en/example/]",
"dataset": "/d/wiktionary/en",
"end": {
"@id": "/c/en/example",
"label": "example",
"language": "en",
"term": "/c/en/example"
},
"license": "cc:by-sa/4.0",
"rel": {
"@id": "/r/RelatedTo",
"label": "RelatedTo"
},
"sources": [
{
"@id": "/and/[/s/process/wikiparsec/1/,/s/resource/wiktionary/en/]",
"contributor": "/s/resource/wiktionary/en",
"process": "/s/process/wikiparsec/1"
},
{
"@id": "/and/[/s/process/wikiparsec/1/,/s/resource/wiktionary/fr/]",
"contributor": "/s/resource/wiktionary/fr",
"process": "/s/process/wikiparsec/1"
}
],
"start": {
"@id": "/c/en/exemplary/a",
"label": "exemplary",
"language": "en",
"sense_label": "a",
"term": "/c/en/exemplary"
},
"surfaceText": null,
"weight": 2.0
}
我想问一下,如何用Jsoup或Gson从上面获取的数据中获取“surfaceText”
和“weight”
?
最佳答案
您可以使用Gson
将 JSON 反序列化为 Map
,然后查询 Map
。
这是一个例子:
String kb = "http://api.conceptnet.io/c/en/example";
Document docKb = Jsoup.connect(kb).get();
String json = docKb.body().text();
Gson gson = new Gson();
Map<String, Object> asMap = gson.fromJson(json, Map.class);
List<Map<String, Object>> edges = (List) asMap.get("edges");
for (Map<String, Object> edge : edges) {
// check that the response contains a surfaceText
if (edge.containsKey("surfaceText")) {
// check that the surfaceText value is non-null
String surfaceText = (String) edge.get("surfaceText");
if (surfaceText != null) {
System.out.println(edge.get("surfaceText"));
}
}
if (edge.containsKey("weight")) {
System.out.println(edge.get("weight"));
}
}
此代码将打印出:
[[apology]] is a type of [[example]]
2.0
[[example]] is a type of [[admonition]]
2.0
[[example]] is a type of [[information]]
2.0
[[exception]] is a type of [[example]]
2.0
... etc
关于java - 如何使用 Jsoup 和 Gson 提取 JSON 字段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48459992/
我有一些像这样的 html: zip code 我的 Java 代码 Elements formElements = doc.getElementsByTag("form"); for(Ele
我无法使用 创建 session jsoup 以及如何使用 jsoup 发布数据.请帮助我,我是新来的 jsoup api ,实际上我的代码是: Connection.Response res = J
我想添加一个新的元标记 Document doc = Jsoup.parse(.....) doc.select("meta").first.appendElement("meta".attr("na
有没有办法用 Jsoup 保留新行,(不是 )? Document pdsc = Jsoup.connect("http://drafts.bestsiteeditor.com/promoters/d
我需要将 jsoup 元素映射回源 HTML 中的特定字符偏移量。换句话说,如果我有这样的 HTML: Hello World 我需要知道“Hello”从偏移量 0 开始,长度为 6 个字符,从偏移
我喜欢用 Jsoup 解析 html,但是他们的连接有问题,我需要将请求发送到同一个网站但不同的查询参数,比如“id=XXX”,请求是这样的: http://website/?id=XXX 我不想为每
我有代码,有点像这样 String str = " >foo< "; Document doc = Jsoup.parse(str, "", Parser.xmlParser()); 但
是否可以使用 jsoup 来验证 HTML 片段?我想知道标记是否格式错误,而不是让 jsoup 自动修复它,我希望能够通知用户自己修复源标记。 最佳答案 Jsoup 不是检查 xml 或 html
Jsoup 有 2 个 html parse() 方法: > parse(String html) - "由于没有指定基本 URI,绝对 URL检测依赖于包含标记的 HTML。” > parse(St
我正在尝试使用 jsoup 从此网页中提取所有图片网址?任何人都可以提供有关如何做到这一点的帮助吗?所有标签的格式都是这样的,但我只需要 src 图像,而不是 ajaxsrc: 链接在这里: htt
我试图找到所有 或 一页/文档中的标签。 我如何使用 OR运算符(operator)在 doc.select("div.name1 OR div.name2") ? 最佳答案 select metho
我为我的项目创建了一个新模块来添加一些额外的功能。在该模块中,我在模块的 Gradle 文件 implementation 'org.jsoup:jsoup:1.10.2' 中添加了 Jsoup 依赖
我正在寻找这个 div 中的主图像 我试过这个: Document document = Jsoup.connect(url).get(); Elements img = document.se
谁能解释一下 JSoup 中提供的 Element 对象和 Node 对象之间的区别? 在什么情况/条件下使用什么最好。 最佳答案 节点是 DOM 层次结构中任何类型对象的通用名称。 元素是一种特定类
有什么方法可以防止 Jsoup 的 HTML 解析器将单个标签(最具体的是 标签)转换为自闭合标签? 标签是有效的 HTML5 元素,但 Jsoup 一直将它们转换为 . 我在下面的链接中有一个示
可以屏蔽吗 Jsoup.connect("http://xyz.com").get().html(); 作为对网站的浏览器调用? 我尝试构建一个壁纸下载工具,但在从服务器下载页面时遇到问题。 如果我下
我希望在 Groovy 中开发一个网络爬虫(使用 Grails 框架和 MongoDB 数据库),它能够爬取网站,创建网站 URL 列表及其资源类型、内容、响应时间和所涉及的重定向数量。 我正在讨论
如果我有一个看起来像这样的元素: bar text 1 bar text 2 我已经有了 元素被选中,我想选择 元素是 的直接子元素但不是
任何人都可以提供有关我将如何解析超大 HTML 流/文件的指针或建议。例如,我有一个大约有 270,000 行的表,我想一次将它带入我的应用程序大约 20,000 行。 jsoup 解析方法允许使用
我收到此错误: java.lang.RuntimeException: An error occured while executing doInBackground() at and
我是一名优秀的程序员,十分优秀!