File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
objectbox-java/src/main/java/io/objectbox Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,9 @@ public BoxStoreBuilder failedReadTxAttemptCallback(TxCallback failedReadTxAttemp
317317 return this ;
318318 }
319319
320+ /**
321+ * Let's you specify an DB file to be used during initial start of the app (no DB file exists yet).
322+ */
320323 @ Experimental
321324 public BoxStoreBuilder initialDbFile (final File initialDbFile ) {
322325 return initialDbFile (new Factory <InputStream >() {
@@ -327,6 +330,10 @@ public InputStream provide() throws FileNotFoundException {
327330 });
328331 }
329332
333+ /**
334+ * Let's you specify a provider for a DB file to be used during initial start of the app (no DB file exists yet).
335+ * The provider will only be called if no DB file exists yet.
336+ */
330337 @ Experimental
331338 public BoxStoreBuilder initialDbFile (Factory <InputStream > initialDbFileFactory ) {
332339 this .initialDbFileFactory = initialDbFileFactory ;
You can’t perform that action at this time.
0 commit comments