android-components / mozilla.components.browser.icons.processor / DiskIconProcessor

DiskIconProcessor

class DiskIconProcessor : IconProcessor (source)

IconProcessor implementation that saves icons in the disk cache.

Types

Name Summary
ProcessorDiskCache interface ProcessorDiskCache

Constructors

Name Summary
<init> DiskIconProcessor(cache: ProcessorDiskCache)
IconProcessor implementation that saves icons in the disk cache.

Functions

Name Summary
process fun process(context: <ERROR CLASS>, request: IconRequest, resource: Resource?, icon: Icon, desiredSize: DesiredSize): Icon

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.