Module org.apache.wicket.core
Package org.apache.wicket.resource
package org.apache.wicket.resource
Locale aware resouce loaders.
-
ClassDescriptionThrown when a circular dependency is detected between resources.A helper class that contributes all required JavaScript resources needed for Wicket Ajax functionalityThis compressor is used to replace URLs within CSS files with URLs created from PackageResourceReferences that belongs to their corresponding resources (e.g images).The scope of the CSS file is used to create the PackageResourceReferences.Gets the actual path for a jar file systemGets the actual path for a specific file system.Used to provide resources based on the on Java NIO FileSystem API.
For more information seeFileSystemResourceReference
This resource reference is used to provide a reference to a resource based on Java NIO FileSystem API.
To implement a mime type detection refer to the documentation ofFiles.probeContentType(Path)
and provide an implementation for java.nio.file.spi.FileTypeDetector in the META-INF/services folder for jars or in the /WEB-INF/classes/META-INF/services folder for webapps
You can optionally overrideFileSystemResourceReference.getFileSystemResource()
to provide an inline mime type detection, which is preferred to the default detection.
Example:To be implemented by listeners interested in PropertiesFactory events fired after a change to the properties has been detectedImplementations are responsible forlocating
Properties
objects, which are a thin wrapper aroundValueMap
and is used to locate localized messages.environment required for properties factoryProperty loaders as used by PropertiesFactory to load propertiesAITextResourceCompressor
that receives the scope class and the resource name as a context information that it can use for the processing of the resourceLoad properties from properties file.Allow for different implementations of a text compressorBase class for JavaScript resources that are JQuery plugins.The resource reference for the jquery javascript library as released with Wicket.A no-op text compressorKind of like java.util.Properties but based on Wicket's ValueMap and thus benefiting from all its nice build-in type converters and without parent properties.Default implementation ofIPropertiesFactory
which uses theIResourceStreamLocator
as defined byResourceSettings.getResourceStreamLocator()
to load theProperties
objects.Utilities for resources.A class which adapts aPackageTextTemplate
to aResourceReference
.Load properties from properties file via a Reader, which allows to provide the charset and thus the encoding can be different than ISO 8859-1.Load properties from XML file