MCPcopy Create free account
hub / github.com/GateNLP/gate-core / getString

Method getString

src/main/java/gate/util/Files.java:101–103  ·  view source on GitHub ↗

Get a string representing the contents of a text file.

(String fileName)

Source from the content-addressed store, hash-verified

99
100 /** Get a string representing the contents of a text file. */
101 public static String getString(String fileName) throws IOException {
102 return getString(new File(fileName));
103 } // getString(fileName)
104
105 /** Get a string representing the contents of a text file. */
106 public static String getString(File textFile) throws IOException {

Callers 6

testUpdateXmlElementMethod · 0.95
testConfigUpdatingMethod · 0.95
parseConfigFileMethod · 0.95
applyUserPreferencesMethod · 0.45

Calls 2

readMethod · 0.65
lengthMethod · 0.45

Tested by 2

testUpdateXmlElementMethod · 0.76
testConfigUpdatingMethod · 0.76