MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / file

Method file

java/src/org/openqa/selenium/remote/http/Contents.java:93–95  ·  view source on GitHub ↗
(final File file)

Source from the content-addressed store, hash-verified

91 }
92
93 public static Supplier file(final File file) {
94 return new FileContentSupplier(file);
95 }
96
97 public static Supplier fromStream(InputStream stream, long length) {
98 return new InputStreamContentSupplier(stream, length);

Callers 5

fileAsBinaryResponseMethod · 0.95
tmpFileFunction · 0.80
addFileMethod · 0.80
hasMethod · 0.80
getFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected