MCPcopy Create free account
hub / github.com/BirolLab/RNA-Bloom / fileToStringCollection

Method fileToStringCollection

src/rnabloom/util/FileUtils.java:173–181  ·  view source on GitHub ↗
(String path, Collection<String> c)

Source from the content-addressed store, hash-verified

171 }
172
173 public static void fileToStringCollection(String path, Collection<String> c) throws FileNotFoundException, IOException {
174 BufferedReader br = getTextFileReader(path);
175
176 for (String line; (line = br.readLine()) != null; ) {
177 c.add(line.trim());
178 }
179
180 br.close();
181 }
182}

Callers 1

getPolyAScoresMethod · 0.80

Calls 3

getTextFileReaderMethod · 0.95
addMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected