MCPcopy Create free account
hub / github.com/acsoto/BUAA-Compiler / transferFileToCode

Method transferFileToCode

src/FileProcessor.java:16–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 }
15
16 private String transferFileToCode() throws IOException {
17 BufferedReader bf = new BufferedReader(reader);
18 StringBuffer buffer = new StringBuffer();
19 String s = null;
20 while ((s = bf.readLine()) != null) {
21 buffer.append(s).append("\n");
22 }
23 return buffer.toString();
24 }
25
26 public String getCode() {
27 return code;

Callers 1

FileProcessorMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected