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

class com.eden.orchid.api.resources.resource.FreeableResource

An abstract concept of a 'freeable' resource, that is one that is able to look its contents back up, and so can be safely 'freed' when requested to save memory. Such an example would be a file, because having a reference to the file makes it possible to get rid of the actual contents when needed because the file can be read back into memory when the data is needed.

Constructors

public <init>(com.eden.orchid.api.theme.pages.OrchidReference)

Parameters:

Methods

public open free(): Unit

Parameters:
  • No parameters
public open getContent(): String

Parameters:
  • No parameters
public open getRawContent(): String

Parameters:
  • No parameters
public open getEmbeddedData(): JSONElement

Parameters:
  • No parameters
public open queryEmbeddedData(kotlin.String): JSONElement

Parameters:
  • pointer: String