File tree 3 files changed +10
-2
lines changed
java/com/facebook/soloader
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,10 @@ public abstract int loadLibrary(
90
90
/**
91
91
* Returns the so file for the specified library. Returns null if the library does not exist or if
92
92
* it's not backed by a file.
93
+ *
94
+ * @param soName Name of library to load
95
+ * @return File if library found; {@code null} if not.
96
+ * @throws IOException IOException
93
97
*/
94
98
@ Nullable
95
99
protected File getSoFileByName (String soName ) throws IOException {
Original file line number Diff line number Diff line change @@ -480,7 +480,11 @@ public String getLibraryPath(String soName) throws IOException {
480
480
return soFile .getCanonicalPath ();
481
481
}
482
482
483
- /** Prepare this SoSource by unconditonally unpacking/re-unpacking it. */
483
+ /**
484
+ * Prepare this SoSource by unconditonally unpacking/re-unpacking it.
485
+ *
486
+ * @throws IOException IOException
487
+ */
484
488
public void prepareForceRefresh () throws IOException {
485
489
prepare (SoSource .PREPARE_FLAG_FORCE_REFRESH );
486
490
}
Original file line number Diff line number Diff line change 18
18
19
19
public interface RecoveryStrategyFactory {
20
20
/**
21
- * @returns an instance of RecoveryStrategy that will be used to recover from failures to load a
21
+ * @return an instance of RecoveryStrategy that will be used to recover from failures to load a
22
22
* native library. The recover method of the returned object might be called multiple times
23
23
* until false is returned or until a successfull retry of the load is performed. All calls
24
24
* are guaranteed to hapen sequentially, within the context of a single library load. This
You can’t perform that action at this time.
0 commit comments