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

Method getInstance

CodenameOne/src/com/codename1/io/Storage.java:137–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 ///
136 /// storage instance
137 public static Storage getInstance() {
138 if (INSTANCE == null) {
139 init("cn1");
140 }
141 return INSTANCE;
142 }
143
144 /// Allows installing a custom storage instance to provide functionality such as seamless encryption
145 ///

Callers 15

getExpiryTimesMethod · 0.95
updateExpiryTimesMethod · 0.95
purgeExpiredMethod · 0.95
getListenerClassMethod · 0.95
setListenerClassMethod · 0.95
getActiveKeysMethod · 0.95
saveActiveKeysMethod · 0.95
getActiveFencesMethod · 0.95
saveActiveFencesMethod · 0.95
getFencesMethod · 0.95
saveFencesMethod · 0.95
persistJsonMethod · 0.95

Calls 1

initMethod · 0.95

Tested by 15

screenshotTestMethod · 0.76
loadCurrentScriptMethod · 0.76
loadCurrentOutputMethod · 0.76
loadCurrentCssMethod · 0.76
saveCurrentStateMethod · 0.76
loadModeMethod · 0.76
saveModeMethod · 0.76
loadDeviceMethod · 0.76
saveDeviceMethod · 0.76
loadOrientationMethod · 0.76
saveOrientationMethod · 0.76
loadPanelMethod · 0.76