com.likethesalad.placeholder.data.resources.ResourcesHandler.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of string-reference Show documentation
Show all versions of string-reference Show documentation
This is a Gradle plugin for Android applications which resolves XML string references in other XML strings.
package com.likethesalad.placeholder.data.resources
import com.likethesalad.placeholder.models.StringResourceModel
import com.likethesalad.placeholder.models.StringsGatheredModel
import com.likethesalad.placeholder.models.StringsTemplatesModel
import java.io.File
interface ResourcesHandler {
fun getGatheredStringsFromFile(stringFile: File): StringsGatheredModel
fun getTemplatesFromFile(templateFile: File): StringsTemplatesModel
fun saveResolvedStringList(resolvedStrings: List, suffix: String)
fun removeResolvedStringFileIfExists(suffix: String)
fun saveTemplatesToFile(templates: StringsTemplatesModel, templateFile: File)
fun saveGatheredStrings(stringsGathered: StringsGatheredModel)
}