MCPcopy Create free account
hub / github.com/M66B/FairEmail / isPrintableChar

Method isPrintableChar

app/src/main/java/eu/faircode/email/Helper.java:2386–2391  ·  view source on GitHub ↗
(int codepoint)

Source from the content-addressed store, hash-verified

2384 }
2385
2386 static boolean isPrintableChar(int codepoint) {
2387 Character.UnicodeBlock block = Character.UnicodeBlock.of(codepoint);
2388 if (block == null || block == Character.UnicodeBlock.SPECIALS)
2389 return false;
2390 return !Character.isISOControl(codepoint);
2391 }
2392 // https://issuetracker.google.com/issues/37054851
2393
2394 static String getPrintableString(String value, boolean debug) {

Callers 2

fromDocumentMethod · 0.95
getPrintableStringMethod · 0.95

Calls 1

ofMethod · 0.45

Tested by

no test coverage detected