MCPcopy Create free account
hub / github.com/Card-Forge/forge / readFile

Method readFile

forge-core/src/main/java/forge/util/FileUtil.java:184–186  ·  view source on GitHub ↗
(final String filename)

Source from the content-addressed store, hash-verified

182 }
183
184 public static List<String> readFile(final String filename) {
185 return FileUtil.readFile(new File(filename));
186 }
187
188 // reads line by line and adds each line to the ArrayList
189 // this will return blank lines as well

Callers 15

readMethod · 0.95
getTownNamesMethod · 0.95
readFileMethod · 0.95
readPriceEntriesMethod · 0.95
getCategoriesMethod · 0.95
CardRendererClass · 0.95
StaticDataMethod · 0.95
readMethod · 0.95
readMethod · 0.95
readMethod · 0.95
fromFileMethod · 0.95
readFileToStringMethod · 0.95

Calls 3

readAllLinesMethod · 0.95
executeWithTimeoutMethod · 0.95
addMethod · 0.65

Tested by 4

readCardMethod · 0.76
readCardMethod · 0.76
readCardNameMethod · 0.76
validateFileMethod · 0.76