MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / exists

Method exists

CodenameOne/src/com/codename1/io/Storage.java:254–258  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

252 ///
253 /// true if it exists
254 public boolean exists(String name) {
255 name = fixFileName(name);
256 CodenameOneImplementation implementation = Util.getImplementation();
257 return implementation != null && implementation.storageFileExists(name);
258 }
259
260 /// Lists the names of the storage files
261 ///

Callers 7

getPendingPurchasesMethod · 0.95
createInputStreamMethod · 0.95
readObjectMethod · 0.95
runMethod · 0.95
saveScreenshotMethod · 0.95

Calls 3

fixFileNameMethod · 0.95
getImplementationMethod · 0.95
storageFileExistsMethod · 0.95

Tested by 2

saveScreenshotMethod · 0.76