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

Method readText

app/src/main/java/eu/faircode/email/Helper.java:3066–3070  ·  view source on GitHub ↗
(File file)

Source from the content-addressed store, hash-verified

3064 }
3065
3066 static String readText(File file) throws IOException {
3067 try (FileInputStream in = new FileInputStream(file)) {
3068 return readStream(in);
3069 }
3070 }
3071
3072 public static void readBuffer(InputStream is, byte[] buffer) throws IOException {
3073 int left = buffer.length;

Callers 13

initMethod · 0.95
onExecuteMethod · 0.95
onExecuteMethod · 0.95
matchesMethod · 0.95
answerMethod · 0.95
speakMethod · 0.95
onActionNotesMethod · 0.95
getExpressionMethod · 0.95
matchMessageMethod · 0.95
onExecuteMethod · 0.95
buildMethod · 0.95
checkEmergencyBackupMethod · 0.95

Calls 1

readStreamMethod · 0.95

Tested by

no test coverage detected