All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.likethesalad.placeholder.data.resources.ResourcesHandler.kt Maven / Gradle / Ivy

Go to download

This is a Gradle plugin for Android applications which resolves XML string references in other XML strings.

There is a newer version: 1.3.0
Show newest version
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)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy