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

Method cleanField

src/java/org/apache/nutch/util/StringUtil.java:200–202  ·  view source on GitHub ↗

Takes in a String value and cleans out any offending "�" @param value the dirty String value. @return clean String

(String value)

Source from the content-addressed store, hash-verified

198 * @return clean String
199 */
200 public static String cleanField(String value) {
201 return value.replaceAll("�", "");
202 }
203
204 public static void main(String[] args) {
205 if (args.length != 1)

Callers 2

addRawContentMethod · 0.95
toStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected