MCPcopy
hub / github.com/google/guava / size

Method size

guava/src/com/google/common/io/Files.java:143–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 }
142
143 @Override
144 public long size() throws IOException {
145 if (!file.isFile()) {
146 throw new FileNotFoundException(file.toString());
147 }
148 return file.length();
149 }
150
151 @Override
152 public byte[] read() throws IOException {

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.65
isFileMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected