gsdsdk / com.gsd.software.sdk.netconnector.tiny / LocalTinyMceMceDataSource

LocalTinyMceMceDataSource

class LocalTinyMceMceDataSource :TinyMceDataSource

Created by Konrad Rutkowski on 3/15/21

Constructors

Name Summary
<init> LocalTinyMceMceDataSource(pathProvider:PathProvider, fileOperations:FileOperations, mcePreferences:TinyMcePreferences)
Created by Konrad Rutkowski on 3/15/21

Functions

Name Summary
getETag fun getETag():String
getIndexHtmlPath fun getIndexHtmlPath():String
getOrCreateTinyMceDirectoryPath fun getOrCreateTinyMceDirectoryPath():String
getVersion fun getVersion():String
isAvailable fun isAvailable():Boolean
saveETag fun saveETag(eTag:String):Unit
saveTinyMce fun saveTinyMce(directory:String, response: ResponseBody):Boolean

Inherited Functions

Name Summary
loadTinyMce open fun loadTinyMce(onSuccess: () ->Unit= {}, onError: () ->Unit= {}):Unit
open fun loadTinyMce(eTag:String, onSuccess: (ResponseBody?,String) ->Unit= { _, _ -> }, onError: () ->Unit= {}):Unit