MCPcopy Create free account
hub / github.com/FongMi/TV / read

Method read

catvod/src/main/java/com/github/catvod/utils/Path.java:143–149  ·  view source on GitHub ↗
(File file)

Source from the content-addressed store, hash-verified

141 }
142
143 public static String read(File file) {
144 try {
145 return new String(readToByte(file), StandardCharsets.UTF_8);
146 } catch (Exception e) {
147 return "";
148 }
149 }
150
151 public static String read(InputStream is) {
152 try {

Callers 9

fetchMethod · 0.95
readMethod · 0.95
restoreMethod · 0.95
readMethod · 0.95
transferStreamMethod · 0.45
readToByteMethod · 0.45
writeMethod · 0.45
copyMethod · 0.45
md5Method · 0.45

Calls 1

readToByteMethod · 0.95

Tested by

no test coverage detected