Cernunnos Manual


${contentsOf()}

** DEPRECATED ** since 1.1.0

Use ${contents} instead, since it supports the standard ResourceHelper approach.

Description:

Reads the resource at the specified location and returns the contents as a String.

Reagents:

Name XPath Description Reagent Type Expected Type Required
CONTEXT @context The context from which missing elements of the LOCATION can be inferred if it is relative. The default is a URL representing the filesystem location from which Java is executing. PHRASE java.lang.String No
LOCATION descendant-or-self::text() Location of a resource to be read. May be a filesystem path (absolute or relative), or a URL. PHRASE java.lang.String Yes

Examples: