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

Method toString

src/java/org/apache/nutch/util/TableUtil.java:155–157  ·  view source on GitHub ↗

Convert given Utf8 instance to String and and cleans out any offending "�" from the String. @param utf8 Utf8 object @return string-ifed Utf8 object or null if Utf8 instance is null

(CharSequence utf8)

Source from the content-addressed store, hash-verified

153 * @return string-ifed Utf8 object or null if Utf8 instance is null
154 */
155 public static String toString(CharSequence utf8) {
156 return utf8 == null ? null : StringUtil.cleanField(utf8.toString());
157 }
158
159}

Callers 14

getParseMethod · 0.95
filterMethod · 0.95
getParseMethod · 0.95
filterMethod · 0.95
runMethod · 0.95
getMessageMethod · 0.95
getMessageMethod · 0.95
getArgMethod · 0.95
parseMethod · 0.95
autoDetectCluesMethod · 0.95
guessEncodingMethod · 0.95
reverseUrlMethod · 0.45

Calls 1

cleanFieldMethod · 0.95

Tested by

no test coverage detected