MCPcopy Create free account
hub / github.com/apache/nutch / setContent

Method setContent

src/java/org/apache/nutch/storage/WebPage.java:471–474  ·  view source on GitHub ↗

Sets the value of the 'content' field. The entire raw document content e.g. raw XHTML @param value the value to set.

(java.nio.ByteBuffer value)

Source from the content-addressed store, hash-verified

469 * The entire raw document content e.g. raw XHTML * @param value the value to set.
470 */
471 public void setContent(java.nio.ByteBuffer value) {
472 this.content = value;
473 setDirty(9);
474 }
475
476 /**
477 * Checks the dirty status of the 'content' field. A field is dirty if it represents a change that has not yet been written to the database.

Callers 15

testRelTagParserMethod · 0.95
getOutlinksMethod · 0.95
testItMethod · 0.95
getTextContentMethod · 0.95
testItMethod · 0.95
testItMethod · 0.95
testItMethod · 0.95
testItMethod · 0.95
mainMethod · 0.95
parseMetaTagsMethod · 0.95
pageMethod · 0.95
mainMethod · 0.95

Calls

no outgoing calls

Tested by 15

testRelTagParserMethod · 0.76
getOutlinksMethod · 0.76
testItMethod · 0.76
getTextContentMethod · 0.76
testItMethod · 0.76
testItMethod · 0.76
testItMethod · 0.76
testItMethod · 0.76
parseMetaTagsMethod · 0.76
pageMethod · 0.76
pageTestMethod · 0.76
assertContentTypeMethod · 0.76