Modifier and Type | Method and Description |
---|---|
Class<? extends IResourceStream> |
ResourceStreamLogData.getResourceStreamClass()
Returns the class of the resource stream.
|
Constructor and Description |
---|
ResourceStreamLogData(ResourceStreamRequestHandler streamHandler,
IResourceStream stream)
Construct.
|
Modifier and Type | Method and Description |
---|---|
IResourceStream |
WebApplicationPath.find(Class<?> clazz,
String pathname) |
Modifier and Type | Class and Description |
---|---|
class |
PackageResourceStream
An
IResourceStream that reads data from a resource in the classpath. |
class |
UrlResourceStream
UrlResourceStream implements IResource for URLs.
|
class |
WebExternalResourceStream
An
IResourceStream that reads data from a file in the web application |
Modifier and Type | Method and Description |
---|---|
IResourceStream |
ClassPathResourceFinder.find(Class<?> clazz,
String path) |
Modifier and Type | Method and Description |
---|---|
IResourceStream |
OsgiResourceStreamLocator.locate(Class<?> clazz,
String path) |
IResourceStream |
IResourceStreamLocator.locate(Class<?> clazz,
String path)
Locate a resource, given a path and class.
|
IResourceStream |
ResourceStreamLocator.locate(Class<?> clazz,
String path) |
IResourceStream |
IResourceStreamLocator.locate(Class<?> clazz,
String path,
String style,
String variation,
Locale locale,
String extension,
boolean strict)
Locate a resource by combining the given path, style, variation, locale and extension
parameters.
|
IResourceStream |
ResourceStreamLocator.locate(Class<?> clazz,
String path,
String style,
String variation,
Locale locale,
String extension,
boolean strict) |
Modifier and Type | Method and Description |
---|---|
IResourceStream |
CachingResourceStreamLocator.locate(Class<?> clazz,
String path)
Locate a resource, given a path and class.
|
IResourceStream |
CachingResourceStreamLocator.locate(Class<?> scope,
String path,
String style,
String variation,
Locale locale,
String extension,
boolean strict) |
Modifier and Type | Method and Description |
---|---|
protected IResourceStream |
AjaxDownloadPage.StaticResource.getResourceStream(IResource.Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
IResourceStream |
PageWithCustomLoading.getMarkupResourceStream(MarkupContainer container,
Class<?> containerClass)
This implementation loads from a custom name/ location.
|
Modifier and Type | Class and Description |
---|---|
static class |
ExportToolbar.DataExportResourceStreamWriter
An
IResourceStreamWriter which writes the exportable data from a table to an output stream. |
Modifier and Type | Class and Description |
---|---|
class |
MarkupResourceStream
An IResourceStream implementation with specific extensions for markup resource streams.
|
Modifier and Type | Method and Description |
---|---|
IResourceStream |
DefaultMarkupResourceStreamProvider.getMarkupResourceStream(MarkupContainer container,
Class<?> containerClass)
Create a new markup resource stream for the container.
|
IResourceStream |
IMarkupResourceStreamProvider.getMarkupResourceStream(MarkupContainer container,
Class<?> containerClass)
Create a new markup resource stream for the container.
|
IResourceStream |
MarkupResourceStream.getResource()
Gets the resource that contains this markup
|
IResourceStream |
MarkupStream.getResource() |
Constructor and Description |
---|
MarkupException(IResourceStream resource,
String message) |
MarkupException(IResourceStream resource,
String message,
Throwable cause) |
MarkupResourceStream(IResourceStream resourceStream)
Construct.
|
MarkupResourceStream(IResourceStream resourceStream,
ContainerInfo containerInfo,
Class<?> markupClass)
Construct.
|
Modifier and Type | Method and Description |
---|---|
IResourceStream |
ResourceStreamRequestHandler.getResourceStream()
Gets the resource stream for the response.
|
Constructor and Description |
---|
ResourceStreamRequestHandler(IResourceStream resourceStream)
Construct.
|
ResourceStreamRequestHandler(IResourceStream resourceStream,
String fileName)
Construct.
|
Modifier and Type | Method and Description |
---|---|
IResourceStream |
ContextRelativeResource.getResourceStream() |
IResourceStream |
PackageResource.getResourceStream()
locate resource stream for current resource
|
protected IResourceStream |
ResourceStreamResource.getResourceStream(IResource.Attributes attributes)
Lazy or dynamic initialization of the wrapped IResourceStream(Writer)
|
Constructor and Description |
---|
ResourceStreamResource(IResourceStream stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IResourceStream |
IStaticCacheableResource.getResourceStream()
get static resource stream which will be unique to the related caching key
IStaticCacheableResource.getCacheKey() |
Modifier and Type | Method and Description |
---|---|
protected void |
PropertiesFactory.addToWatcher(String path,
IResourceStream resourceStream,
IModificationWatcher watcher)
Add the resource stream to the file being watched
|
protected ValueMap |
PropertiesFactory.loadFromLoader(IPropertiesLoader loader,
IResourceStream resourceStream) |
static String |
ResourceUtil.readString(IResourceStream resourceStream)
read string with platform default encoding from resource stream
|
static String |
ResourceUtil.readString(IResourceStream resourceStream,
Charset charset)
read string with specified encoding from resource stream
|
Modifier and Type | Method and Description |
---|---|
IResourceStream |
ConcatBundleResource.getResourceStream() |
Modifier and Type | Method and Description |
---|---|
protected String |
ConcatBundleResource.findContentType(List<IResourceStream> resources) |
protected Time |
ConcatBundleResource.findLastModified(List<IResourceStream> resources) |
protected byte[] |
ConcatBundleResource.readAllResources(List<IResourceStream> resources) |
Modifier and Type | Method and Description |
---|---|
IResourceStream |
IResourceFinder.find(Class<?> clazz,
String pathname)
Looks for a given pathname along this path
|
IResourceStream |
Path.find(Class<?> clazz,
String pathname)
Looks for
pathname in the provided folder . |
Modifier and Type | Interface and Description |
---|---|
interface |
IResourceStreamWriter
Special IResourceStream implementation that a Resource can return when it directly wants to write
to an output stream instead of return the
getInputStream() . |
interface |
IStringResourceStream
A resource that can be converted to a String representation, possibly using an explicit Charset.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractResourceStream |
class |
AbstractResourceStreamWriter
Base implementation of an IResourceStreamWriter so that you only have to override the
IResourceStreamWriter.write(java.io.OutputStream) . |
class |
AbstractStringResourceStream
Base class for string resources.
|
class |
FileResourceStream
A FileResourceStream is an IResource implementation for files.
|
class |
FileSystemResourceStream
A FileSystemResourceStream is an IResourceStream implementation for Java NIO paths.
|
class |
ResourceStreamWrapper
A IResourceStream that wraps another resource stream
|
class |
StringBufferResourceStream
A string resource that can be appended to.
|
class |
StringResourceStream
A StringResourceStream is an IResource implementation for strings.
|
class |
XSLTResourceStream
IResourceStream that applies XSLT on an input IResourceStream . |
class |
ZipResourceStream
An IResourceStream that ZIPs a directory's contents on the fly
|
Modifier and Type | Method and Description |
---|---|
IResourceStream |
ResourceStreamWrapper.getDelegate()
Returns the wrapped delegate.
|
Constructor and Description |
---|
ResourceStreamWrapper(IResourceStream delegate)
Creates the wrapper around the
delegate resource stream. |
XSLTResourceStream(IResourceStream xsltResource,
IResourceStream xmlResource)
Construct.
|
Modifier and Type | Class and Description |
---|---|
class |
CssTemplate
Decorates a
TextTemplate with CSS tags. |
class |
JavaScriptTemplate
Decorates a
TextTemplate with JavaScript tags. |
class |
PackageTextTemplate
A
String resource that can be appended to. |
class |
TextTemplate
Represents a text template that can do variable interpolation.
|
class |
TextTemplateDecorator
Provides the ability to 'decorate' the actual template contents before it is contributed to the
header.
|
Modifier and Type | Method and Description |
---|---|
IResourceStream |
VelocityPanel.getMarkupResourceStream(MarkupContainer container,
Class<?> containerClass)
Create a new markup resource stream for the container.
|
protected abstract IResourceStream |
VelocityPanel.getTemplateResource()
Returns the template resource passed to the constructor.
|
Modifier and Type | Method and Description |
---|---|
static VelocityPanel |
VelocityPanel.forTemplateResource(String id,
IModel<? extends Map> model,
IResourceStream templateResource)
Convenience factory method to create a
VelocityPanel instance with a given
template resource . |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.