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

Method isEmpty

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

Checks if a string is empty (ie is null or empty).

(String str)

Source from the content-addressed store, hash-verified

187 * Checks if a string is empty (ie is null or empty).
188 */
189 public static boolean isEmpty(String str) {
190 return (str == null) || (str.equals(""));
191 }
192
193 /**
194 * Takes in a String value and cleans out any offending "�"

Callers 15

parseMethod · 0.95
isTruncatedMethod · 0.95
closeMethod · 0.45
setConfMethod · 0.45
getAgentStringMethod · 0.45
parseMappingMethod · 0.45
commitMethod · 0.45
endElementMethod · 0.45
configureClientMethod · 0.45
HttpResponseMethod · 0.45
readPlainContentMethod · 0.45

Calls 1

equalsMethod · 0.45

Tested by 1