Class JsScriptStorageImpl
- java.lang.Object
-
- org.prebid.mobile.rendering.sdk.scripts.JsScriptStorageImpl
-
- All Implemented Interfaces:
JsScriptStorage
public class JsScriptStorageImpl extends java.lang.Object implements JsScriptStorage
-
-
Constructor Summary
Constructors Constructor Description JsScriptStorageImpl(android.content.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateParentFolders(java.io.File file)voidfileDownloadingFailed(java.lang.String path)java.io.FilegetInnerFile(java.lang.String path)booleanisFileAlreadyDownloaded(java.io.File file, java.lang.String preferencesKey)voidmarkFileAsDownloadedCompletely(java.lang.String path)
-
-
-
Method Detail
-
getInnerFile
public java.io.File getInnerFile(java.lang.String path)
- Specified by:
getInnerFilein interfaceJsScriptStorage
-
isFileAlreadyDownloaded
public boolean isFileAlreadyDownloaded(java.io.File file, java.lang.String preferencesKey)- Specified by:
isFileAlreadyDownloadedin interfaceJsScriptStorage
-
createParentFolders
public void createParentFolders(java.io.File file)
- Specified by:
createParentFoldersin interfaceJsScriptStorage
-
markFileAsDownloadedCompletely
public void markFileAsDownloadedCompletely(java.lang.String path)
- Specified by:
markFileAsDownloadedCompletelyin interfaceJsScriptStorage
-
fileDownloadingFailed
public void fileDownloadingFailed(java.lang.String path)
- Specified by:
fileDownloadingFailedin interfaceJsScriptStorage
-
-