In package com.eden.orchid.api.resources

class com.eden.orchid.api.resources.ResourceServiceImpl

Constructors

public <init>(kotlin.String, kotlin.collections.MutableSet((com.eden.orchid.api.resources.resourceSource.LocalResourceSource)), kotlin.collections.MutableSet((com.eden.orchid.api.resources.resourceSource.PluginResourceSource)), OkHttpClient)

Parameters:
  • resourcesDir: String
  • fileResourceSources: MutableSet
  • pluginResourceSources: MutableSet
  • client: OkHttpClient

Methods

public final locateLocalResourceEntry(kotlin.String): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileName: String
public final locateLocalResourceEntry(kotlin.String, kotlin.Array((kotlin.String))): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileName: String
  • fileExtensions: Array
public final locateLocalResourceEntry(kotlin.String, kotlin.collections.MutableList((kotlin.String))): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileName: String
  • fileExtensions: MutableList
public final getDatafile(kotlin.String): MutableMap

Parameters:
  • fileName: String
public final getResourceEntry(kotlin.String): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileName: String
public final loadAdditionalFile(kotlin.String): MutableMap

Parameters:
  • url: String
public final getResourceEntries(kotlin.String, kotlin.Array((kotlin.String)), kotlin.Boolean): MutableList

Parameters:
  • path: String
  • fileExtensions: Array
  • recursive: Boolean
public final getLocalResourceEntry(kotlin.String): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileName: String
public final getLocalResourceEntries(kotlin.String, kotlin.Array((kotlin.String)), kotlin.Boolean): MutableList

Parameters:
  • path: String
  • fileExtensions: Array
  • recursive: Boolean
public final getThemeResourceEntries(kotlin.String, kotlin.Array((kotlin.String)), kotlin.Boolean): MutableList

Parameters:
  • path: String
  • fileExtensions: Array
  • recursive: Boolean
public final getDatafiles(kotlin.String): MutableMap

Parameters:
  • directory: String
public final loadRemoteFile(kotlin.String): MutableMap

Parameters:
  • url: String
public final getThemeResourceEntry(kotlin.String): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileName: String
public final findClosestFile(kotlin.String): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • filename: String
public final findClosestFile(kotlin.String, kotlin.Boolean): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • filename: String
  • strict: Boolean
public final findClosestFile(kotlin.String, kotlin.Boolean, kotlin.Int): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • filename: String
  • strict: Boolean
  • maxIterations: Int
public final getIgnoredFilenames(): Array

Parameters:
  • No parameters
public final setIgnoredFilenames(kotlin.Array((kotlin.String))): Unit

Parameters:
  • ignoredFilenames: Array
public final locateTemplate(kotlin.String): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileNames: String
public final locateTemplate(kotlin.Array((kotlin.String))): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileNames: Array
public final locateTemplate(kotlin.collections.MutableList((kotlin.String))): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileNames: MutableList
public final locateTemplate(kotlin.String, kotlin.Boolean): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileNames: String
  • ignoreMissing: Boolean
public final locateTemplate(kotlin.Array((kotlin.String)), kotlin.Boolean): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileNames: Array
  • ignoreMissing: Boolean
public final locateTemplate(kotlin.collections.MutableList((kotlin.String)), kotlin.Boolean): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileNames: MutableList
  • ignoreMissing: Boolean
public final loadLocalFile(kotlin.String): MutableMap

Parameters:
  • url: String
public final initialize(com.eden.orchid.api.OrchidContext): Unit

Parameters: