Searched refs:readFileAsString (Results 1 – 3 of 3) sorted by relevance
95 assertEquals("abcdABCD", new String(IoUtils.readFileAsString(tmp.getPath()))); in test_writev()111 assertEquals("hello world", new String(IoUtils.readFileAsString(tmp.getPath()))); in test_append()
108 public static String readFileAsString(String path) throws IOException { in readFileAsString() method in IoUtils
200 String s = IoUtils.readFileAsString(path).trim(); in readIntFile()450 String s = IoUtils.readFileAsString("/sys/class/net/" + name + "/address"); in getHardwareAddress()