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

Method toString

src/java/org/apache/nutch/metadata/Metadata.java:219–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217 }
218
219 public String toString() {
220 StringBuffer buf = new StringBuffer();
221 String[] names = names();
222 for (int i = 0; i < names.length; i++) {
223 String[] values = _getValues(names[i]);
224 for (int j = 0; j < values.length; j++) {
225 buf.append(names[i]).append("=").append(values[j]).append(" ");
226 }
227 }
228 return buf.toString();
229 }
230
231 public final void write(DataOutput out) throws IOException {
232 out.writeInt(size());

Callers 1

normalizeMethod · 0.45

Calls 3

namesMethod · 0.95
_getValuesMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected