In package com.eden.orchid.api.resources.resourceSource

class com.eden.orchid.api.resources.resourceSource.OrchidResourceSource

OrchidResourceSource define the resource lookup order. Resources are looked up in the following order:

  1. Local sources
  2. The currently active theme
  3. Plugin sources

This makes it so that any resource defined in a plugin or theme can always be overridden by your local resoure sources. Likewise, any resource defined in a plugin can be overridden by the theme.

Fields

public abstract priority

Methods

public abstract getResourceEntry(kotlin.String): com.eden.orchid.api.resources.resource.OrchidResource

Parameters:
  • fileName: String
public abstract getResourceEntries(kotlin.String, kotlin.Array((kotlin.String)), kotlin.Boolean): List

Parameters:
  • dirName: String
  • fileExtensions: Array
  • recursive: Boolean
public open shouldAddEntry(kotlin.String): Boolean

Parameters:
  • entryName: String
public open compareTo(com.eden.orchid.api.resources.resourceSource.OrchidResourceSource): Int

Parameters: