MCPcopy Create free account
hub / github.com/apache/mesos / File

Method File

src/jvm/java/io.hpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26{
27public:
28 explicit File(const std::string& pathname)
29 {
30 static Jvm::Constructor constructor = Jvm::get()->findConstructor(
31 Jvm::Class::named("java/io/File")
32 .constructor()
33 .parameter(Jvm::get()->stringClass));
34
35 object = Jvm::get()->invoke(constructor, Jvm::get()->string(pathname));
36 }
37
38 void deleteOnExit()
39 {

Callers

nothing calls this directly

Calls 5

findConstructorMethod · 0.80
constructorMethod · 0.80
invokeMethod · 0.60
getFunction · 0.50
stringMethod · 0.45

Tested by

no test coverage detected