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

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

A Resource type that provides a content to a template from a resource file contained with a jarfile. When used with renderTemplate() or renderString(), this resource will supply the page.content variable to the template renderer as the file contents after having the embedded data removed, and any embedded data will be available in the renderer through the page variable. When used with renderRaw(), the raw contents (after having the embedded data removed) will be written directly instead.

Constructors

public <init>(com.eden.orchid.api.OrchidContext, java.util.jar.JarFile, java.util.jar.JarEntry)

Parameters:
public <init>(java.util.jar.JarFile, java.util.jar.JarEntry, com.eden.orchid.api.theme.pages.OrchidReference)

Parameters:

Methods

public final getContentStream():

Parameters:
  • No parameters