A B C D E F G H I J L M N O P R S T U V W 

A

AbstractResource - Class in info.magnolia.resourceloader
A convenient class to extend by subclasses of AbstractResourceOrigin.
AbstractResource(AbstractResourceOrigin) - Constructor for class info.magnolia.resourceloader.AbstractResource
 
AbstractResourceOrigin<P extends AbstractResource> - Class in info.magnolia.resourceloader
Exposes methods that AbstractResource simply delegates to.
AbstractResourceOrigin(String) - Constructor for class info.magnolia.resourceloader.AbstractResourceOrigin
 
accept(Path) - Method in class info.magnolia.resourceloader.file.ExclusionsFilter
 
added(Path) - Method in interface info.magnolia.dirwatch.WatcherCallback
 
addMappings(Map<String, ClasspathEntry>) - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
 
always() - Static method in class info.magnolia.resourceloader.util.Functions
Convenient Predicate which simply delegates to Predicates.alwaysTrue(), avoids verbose type parameter declaration and provides a (debatably) better name.
apply(Path) - Method in class info.magnolia.resourceloader.file.ExclusionsFilter
 
apply(T) - Method in class info.magnolia.resourceloader.util.VoidFunction
 
attachAndIndex(ClasspathEntry, Map<String, ClasspathEntry>) - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathEntriesResolver.ReflectionsVfsBased
Attaches resources to the virtual file tree structure, creating virtual directories for ancestors as needed.

B

BINARY_NODE_NAME - Static variable in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
build() - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations.Builder
 
buildExclusionsFilter() - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
Builds exclusion filter, if present uses magnolia.resources.filesystem.observation.excludedDirectories property for defining excluded root directories.
buildFile(Object...) - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathFileConstructionStrategy
 
BYPASS_PROPERTY - Static variable in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 

C

ClasspathDirectory - Class in info.magnolia.resourceloader.classpath.hierarchy
Represents a classpath directory.
ClasspathDirectory(String) - Constructor for class info.magnolia.resourceloader.classpath.hierarchy.ClasspathDirectory
 
ClasspathEntriesResolver - Class in info.magnolia.resourceloader.classpath.service.impl.base
Produces a set of classpath entries mapped to their absolute paths on the basis of classpath configuration and some classpath traversal strategy.
ClasspathEntriesResolver(ClasspathFileConstructionStrategy) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathEntriesResolver
 
ClasspathEntriesResolver.ReflectionsVfsBased - Class in info.magnolia.resourceloader.classpath.service.impl.base
Default implementation of ClasspathEntriesResolver based Reflections library's VFS.
ClasspathEntriesResolver.ReflectionsVfsBased(ClasspathFileConstructionStrategy) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathEntriesResolver.ReflectionsVfsBased
 
ClasspathEntry - Interface in info.magnolia.resourceloader.classpath.hierarchy
Base interface of an entity which represents a file or a directory resolved from the application's classpath.
ClasspathFile - Interface in info.magnolia.resourceloader.classpath.hierarchy
Represents a file from application's classpath.
ClasspathFileConstructionStrategy - Class in info.magnolia.resourceloader.classpath.service.impl.base
Strategy class which helps to build classpath files from some arbitrary context.
ClasspathFileConstructionStrategy() - Constructor for class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathFileConstructionStrategy
 
ClasspathResource<T extends ClasspathEntry> - Class in info.magnolia.resourceloader.classpath
ClasspathResourceOrigin - Class in info.magnolia.resourceloader.classpath
A ResourceOrigin which serves resources collected from the web application classpath.
ClasspathResourceOrigin(String, ClasspathService) - Constructor for class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
ClasspathResourceOriginFactory - Class in info.magnolia.resourceloader.classpath
 
ClasspathResourceOriginFactory(Provider<ClasspathService>) - Constructor for class info.magnolia.resourceloader.classpath.ClasspathResourceOriginFactory
 
ClasspathService - Interface in info.magnolia.resourceloader.classpath.service
Organises classpath resources into a hierarchical structure based on ClasspathEntry objects and provides convenient access to it.
ClasspathService.ClasspathEntryNotFoundException - Exception in info.magnolia.resourceloader.classpath.service
Thrown when an attempt to resolve a ClasspathEntry by a path fails.
ClasspathService.ClasspathEntryNotFoundException(String) - Constructor for exception info.magnolia.resourceloader.classpath.service.ClasspathService.ClasspathEntryNotFoundException
 
ClasspathServiceBase - Class in info.magnolia.resourceloader.classpath.service.impl.base
Base abstract implementation of ClasspathService.
ClasspathServiceBase(ClasspathServiceConfiguration, ClasspathEntriesResolver) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
 
ClasspathServiceConfiguration - Interface in info.magnolia.resourceloader.classpath.service
Aggregates common properties which allow to narrow the classpath resource search scope, distinguish meaningful classpath resources from the insignificant ones etc.
ClasspathServiceProvider - Class in info.magnolia.resourceloader.classpath
Default Guice provider of ClasspathService.
ClasspathServiceProvider(MagnoliaConfigurationProperties, DefaultClasspathServiceConfigurations) - Constructor for class info.magnolia.resourceloader.classpath.ClasspathServiceProvider
 
clearAllMappings() - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
 
closeURLConnection(URLConnection) - Static method in class info.magnolia.resourceloader.classpath.service.impl.URLConnectionUtil
 
collector(Collection<T>) - Static method in class info.magnolia.resourceloader.util.Functions
This Function simply collects all input into the given target collection.
collector() - Static method in class info.magnolia.resourceloader.util.Functions
This Function simply collects all input into a new collection.
compareByHandle() - Static method in class info.magnolia.resourceloader.util.Functions
 
create(String) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOriginFactory
 
create(String) - Method in class info.magnolia.resourceloader.classpath.LegacyClasspathResourceOriginFactory
 
create(String) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOriginFactory
 
create(String) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOriginFactory
 
create(String, ResourceOrigin[]) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOriginFactory
 

D

defaultClasspathLocations() - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations
 
DefaultClasspathServiceConfigurations - Class in info.magnolia.resourceloader.classpath
Default classpath service configurations aggregated in one place.
DefaultClasspathServiceConfigurations(ServletContext, MagnoliaConfigurationProperties) - Constructor for class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations
 
DefaultClasspathServiceConfigurations.Builder - Class in info.magnolia.resourceloader.classpath
Builder class for ClasspathServiceConfiguration objects.
DefaultClasspathServiceConfigurations.Builder() - Constructor for class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations.Builder
 
defaultResourceFilter() - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations
 
DefaultResourceOrigins - Class in info.magnolia.resourceloader
With the help of this provider, one can @Inject ResourceOrigin in their code.
DefaultResourceOrigins(ClasspathResourceOriginFactory, LegacyClasspathResourceOriginFactory, FileSystemResourceOriginFactory, JcrResourceOriginFactory, LayeredResourceOriginFactory) - Constructor for class info.magnolia.resourceloader.DefaultResourceOrigins
See note in ResourceOriginFactory about why we can't use @Multibinding at the moment.
defaults() - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations
 
defaultScannableResourcePattern() - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations
 
developmentMode() - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations
 
DevelopmentModeClasspathFile - Class in info.magnolia.resourceloader.classpath.service.impl.devmode
ClasspathFile implementation oriented onto development application mode.
DevelopmentModeClasspathFile(URL, Vfs.File) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathFile
 
DevelopmentModeClasspathService - Class in info.magnolia.resourceloader.classpath.service.impl.devmode
Classpath service implementation which targets development application mode.
DevelopmentModeClasspathService(DefaultClasspathServiceConfigurations, ClasspathEntriesResolver) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathService
 
DevelopmentModeClasspathService(ClasspathServiceConfiguration, ClasspathEntriesResolver) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathService
Alternative c-tor which allows to pass in a custom classpath configuration.
developmentModeWithVfs() - Static method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathFileConstructionStrategy
 
DirectoryWatcher - Class in info.magnolia.dirwatch
The DirectoryWatcher covers implementation of the low level WatchService API.
DirectoryWatcher(boolean, boolean, MagnoliaConfigurationProperties) - Constructor for class info.magnolia.dirwatch.DirectoryWatcher
 
DirectoryWatcher(boolean, boolean) - Constructor for class info.magnolia.dirwatch.DirectoryWatcher
DirectoryWatcherService - Class in info.magnolia.dirwatch
Service to watch for added and removed files and especially for file changes.
DirectoryWatcherService(MagnoliaConfigurationProperties) - Constructor for class info.magnolia.dirwatch.DirectoryWatcherService
 
DirectoryWatcherService() - Constructor for class info.magnolia.dirwatch.DirectoryWatcherService
doOpenStream(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
doOpenStream(ClasspathResource) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
doOpenStream(ClasspathResource) - Method in class info.magnolia.resourceloader.classpath.LegacyClasspathResourceOrigin
 
doOpenStream(FileSystemResource) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
doOpenStream(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
doOpenStream(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
doWith(T) - Method in class info.magnolia.resourceloader.util.Functions.CollectorFunction
 
doWith(T) - Method in class info.magnolia.resourceloader.util.VoidFunction
 

E

equals(Object) - Method in class info.magnolia.resourceloader.classpath.ClasspathResource
 
equals(Object) - Method in class info.magnolia.resourceloader.classpath.hierarchy.ClasspathDirectory
 
equals(Object) - Method in class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathFile
 
equals(Object) - Method in class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile
 
ExclusionsFilter - Class in info.magnolia.resourceloader.file
Predicate and DirectoryStream.Filter which checks a given Path is under the root and is able to exclude.
ExclusionsFilter(Path, List<String>, List<String>, List<String>) - Constructor for class info.magnolia.resourceloader.file.ExclusionsFilter
 
existsAndAllowed(Path) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 

F

FileResourceCollectorVisitor - Class in info.magnolia.resourceloader.util
A PredicatedResourceVisitor which simply "collects" file resources matching a given pattern.
FileResourceCollectorVisitor(Predicate<Resource>, Predicate<Resource>) - Constructor for class info.magnolia.resourceloader.util.FileResourceCollectorVisitor
 
FileSystemResource - Class in info.magnolia.resourceloader.file
FileSystemResourceOrigin - Class in info.magnolia.resourceloader.file
A ResourceOrigin which loads resources on the file system.
FileSystemResourceOriginFactory - Class in info.magnolia.resourceloader.file
 
FileSystemResourceOriginFactory(Provider<MagnoliaConfigurationProperties>, Provider<DirectoryWatcherService>) - Constructor for class info.magnolia.resourceloader.file.FileSystemResourceOriginFactory
 
Functions - Class in info.magnolia.resourceloader.util
Functional-ish Function, Predicate and Comparator implementations that are useful when working with ResourceOrigin and Resource, and some more useful ones that had no better place for now.
Functions() - Constructor for class info.magnolia.resourceloader.util.Functions
 
Functions.CollectorFunction<T> - Class in info.magnolia.resourceloader.util
A simple Function which aggregates arguments from all its invocations.

G

get() - Method in class info.magnolia.resourceloader.classpath.ClasspathServiceProvider
 
get() - Method in class info.magnolia.resourceloader.DefaultResourceOrigins
 
getAbsolutePath() - Method in class info.magnolia.resourceloader.classpath.hierarchy.ClasspathDirectory
 
getAbsolutePath() - Method in interface info.magnolia.resourceloader.classpath.hierarchy.ClasspathEntry
Get an absolute path of a classpath entry.
getAbsolutePath() - Method in class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathFile
 
getAbsolutePath() - Method in class info.magnolia.resourceloader.classpath.service.impl.legacy.LegacyClasspathFile
 
getAbsolutePath() - Method in class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile
 
getBinary(Node) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
getByPath(String) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
getByPath(String) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
getByPath(String) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
getByPath(String) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
getByPath(String) - Method in interface info.magnolia.resourceloader.ResourceOrigin
Retrieves a Resource object based on the given path.
getByPath(String) - Static method in class info.magnolia.resourceloader.util.Functions
 
getCharset() - Method in interface info.magnolia.resourceloader.classpath.service.ClasspathServiceConfiguration
Get the charset to be used to access the contents of the textual classpath resources.
getCharsetFor(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
Returns the preferred Charset to read the given Resource.
getCharsetFor(ClasspathResource) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
getCharsetFor(FileSystemResource) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
getCharsetFor(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
getCharsetFor(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
Overridden to throw an exception; since we override LayeredResourceOrigin.openReader(LayeredResource), this method used in AbstractResourceOrigin.openReader(info.magnolia.resourceloader.AbstractResource) should never be called.
getClasspathEntry() - Method in class info.magnolia.resourceloader.classpath.ClasspathResource
 
getClasspathEntryMappings() - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
 
getClasspathFileConstructionStrategy() - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathEntriesResolver
 
getClasspathLocations() - Method in interface info.magnolia.resourceloader.classpath.service.ClasspathServiceConfiguration
Get possible classpath locations to search resources at (e.g.
getCollectedResources() - Method in class info.magnolia.resourceloader.util.FileResourceCollectorVisitor
 
getConfiguration() - Method in interface info.magnolia.resourceloader.classpath.service.ClasspathService
Get configuration of the current service.
getConfiguration() - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
 
getEntries() - Method in class info.magnolia.resourceloader.classpath.hierarchy.ClasspathDirectory
Get list of files and sub-directories residing in current directory.
getEntryAt(String) - Method in interface info.magnolia.resourceloader.classpath.service.ClasspathService
Get classpath entry corresponding to a given path.
getEntryAt(String) - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
 
getFirst() - Method in class info.magnolia.resourceloader.layered.LayeredResource
 
getFunction() - Method in class info.magnolia.resourceloader.util.PredicatedResourceVisitor
Can be useful to e.g.
getJcrSession() - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
getLastModified() - Method in class info.magnolia.resourceloader.AbstractResource
 
getLastModified(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
getLastModified(ClasspathResource) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
getLastModified() - Method in class info.magnolia.resourceloader.classpath.hierarchy.ClasspathDirectory
Since a classpath directory is a virtual term - it cannot really have a last modified date, so -1 is always returned.
getLastModified() - Method in interface info.magnolia.resourceloader.classpath.hierarchy.ClasspathEntry
Get last modification date of a classpath entry.
getLastModified() - Method in class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathFile
 
getLastModified() - Method in class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile
 
getLastModified(FileSystemResource) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
getLastModified(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
getLastModified(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
getLastModified() - Method in interface info.magnolia.resourceloader.Resource
Returns the last modification date of this resource as the number of milliseconds since January 1, 1970, 00:00:00 GMT.
getLastModified() - Method in class info.magnolia.resourceloader.ResourceStub
 
getLayers() - Method in class info.magnolia.resourceloader.layered.LayeredResource
 
getMonitoredResourcePattern() - Method in interface info.magnolia.resourceloader.classpath.service.ClasspathServiceConfiguration
Get a resource path pattern which would match the classpath resources that must be considered during classpath monitoring.
getName() - Method in class info.magnolia.resourceloader.AbstractResource
 
getName() - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
getName(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
getName(ClasspathResource) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
getName() - Method in class info.magnolia.resourceloader.classpath.hierarchy.ClasspathDirectory
 
getName() - Method in interface info.magnolia.resourceloader.classpath.hierarchy.ClasspathEntry
Get a name of a classpath entry.
getName() - Method in class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathFile
 
getName() - Method in class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile
 
getName(FileSystemResource) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
getName(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
getName(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
getName() - Method in interface info.magnolia.resourceloader.Resource
 
getName() - Method in interface info.magnolia.resourceloader.ResourceOrigin
Returns the name of this origin.
getName() - Method in class info.magnolia.resourceloader.ResourceStub
 
getOrigin() - Method in class info.magnolia.resourceloader.AbstractResource
 
getOrigin() - Method in interface info.magnolia.resourceloader.Resource
 
getOrigin() - Method in class info.magnolia.resourceloader.ResourceStub
 
getParent() - Method in class info.magnolia.resourceloader.AbstractResource
 
getParent(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
getParent(ClasspathResource) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
getParent(ClasspathEntry) - Method in interface info.magnolia.resourceloader.classpath.service.ClasspathService
Get parent directory of a classpath entry.
getParent(ClasspathEntry) - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
 
getParent(FileSystemResource) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
getParent(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
getParent(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
getParent() - Method in interface info.magnolia.resourceloader.Resource
 
getParent() - Method in class info.magnolia.resourceloader.ResourceStub
 
getParent() - Static method in class info.magnolia.resourceloader.util.Functions
 
getPath() - Method in class info.magnolia.resourceloader.AbstractResource
 
getPath(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
getPath(ClasspathResource) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
getPath(FileSystemResource) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
getPath(String) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
getPath(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
getPath(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
getPath() - Method in interface info.magnolia.resourceloader.Resource
Returns the "absolute" path to this resource.
getPath() - Method in class info.magnolia.resourceloader.ResourceStub
 
getPath() - Static method in class info.magnolia.resourceloader.util.Functions
 
getResourceFilter() - Method in interface info.magnolia.resourceloader.classpath.service.ClasspathServiceConfiguration
Get a Predicate which would based on the given classpath resource path deduce whether that is actually a meaningful resource.
getRoot() - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
getRoot() - Method in interface info.magnolia.resourceloader.classpath.service.ClasspathService
Get the root directory of the current service classpath hierarchy structure.
getRoot() - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
 
getRoot() - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
getRoot() - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
getRoot() - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
getRoot() - Method in interface info.magnolia.resourceloader.ResourceOrigin
Returns the Resource for this origin's declared root.
getRoot() - Static method in class info.magnolia.resourceloader.util.Functions
 
getTarget() - Method in class info.magnolia.resourceloader.util.Functions.CollectorFunction
 
getUrl() - Method in class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile
 
getWatchEventModifiers(WatchService) - Method in class info.magnolia.dirwatch.DirectoryWatcher
 

H

hasEntry(String) - Method in interface info.magnolia.resourceloader.classpath.service.ClasspathService
Check whether current service classpath structure contains an entry which corresponds to a given path.
hasEntry(String) - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
 
hashCode() - Method in class info.magnolia.resourceloader.classpath.ClasspathResource
 
hashCode() - Method in class info.magnolia.resourceloader.classpath.hierarchy.ClasspathDirectory
 
hashCode() - Method in class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathFile
 
hashCode() - Method in class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile
 
hasPath(String) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
hasPath(String) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
hasPath(String) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
hasPath(String) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
hasPath(String) - Method in interface info.magnolia.resourceloader.ResourceOrigin
 
hasPath(String) - Static method in class info.magnolia.resourceloader.util.Functions
 

I

info.magnolia.dirwatch - package info.magnolia.dirwatch
 
info.magnolia.resourceloader - package info.magnolia.resourceloader
 
info.magnolia.resourceloader.classpath - package info.magnolia.resourceloader.classpath
 
info.magnolia.resourceloader.classpath.hierarchy - package info.magnolia.resourceloader.classpath.hierarchy
 
info.magnolia.resourceloader.classpath.service - package info.magnolia.resourceloader.classpath.service
 
info.magnolia.resourceloader.classpath.service.impl - package info.magnolia.resourceloader.classpath.service.impl
 
info.magnolia.resourceloader.classpath.service.impl.base - package info.magnolia.resourceloader.classpath.service.impl.base
 
info.magnolia.resourceloader.classpath.service.impl.devmode - package info.magnolia.resourceloader.classpath.service.impl.devmode
 
info.magnolia.resourceloader.classpath.service.impl.legacy - package info.magnolia.resourceloader.classpath.service.impl.legacy
 
info.magnolia.resourceloader.classpath.service.impl.production - package info.magnolia.resourceloader.classpath.service.impl.production
 
info.magnolia.resourceloader.file - package info.magnolia.resourceloader.file
 
info.magnolia.resourceloader.jcr - package info.magnolia.resourceloader.jcr
 
info.magnolia.resourceloader.layered - package info.magnolia.resourceloader.layered
 
info.magnolia.resourceloader.util - package info.magnolia.resourceloader.util
 
isBinaryResource(Node) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
isBypassed(Node) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
isDirectory() - Method in class info.magnolia.resourceloader.AbstractResource
 
isDirectory(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
isDirectory(ClasspathResource) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
isDirectory(FileSystemResource) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
isDirectory(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
isDirectory(Node) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
isDirectory(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
isDirectory() - Method in interface info.magnolia.resourceloader.Resource
 
isDirectory() - Method in class info.magnolia.resourceloader.ResourceStub
 
isDirectory() - Static method in class info.magnolia.resourceloader.util.Functions
 
isEditable() - Method in class info.magnolia.resourceloader.AbstractResource
 
isEditable(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
isEditable(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
isEditable(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
isEditable() - Method in interface info.magnolia.resourceloader.Resource
Determines whether this resource can be edited in its underlying origin.
isEditable() - Method in class info.magnolia.resourceloader.ResourceStub
 
isFile() - Method in class info.magnolia.resourceloader.AbstractResource
 
isFile(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
isFile(ClasspathResource) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
isFile(FileSystemResource) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
isFile(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
isFile(Node) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
isFile(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
isFile() - Method in interface info.magnolia.resourceloader.Resource
 
isFile() - Method in class info.magnolia.resourceloader.ResourceStub
 
isFile() - Static method in class info.magnolia.resourceloader.util.Functions
 
isResource(Node) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
isTextResource(Node) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 

J

JcrResource - Class in info.magnolia.resourceloader.jcr
JcrResourceOrigin - Class in info.magnolia.resourceloader.jcr
A ResourceOrigin which loads resources from JCR.
JcrResourceOriginFactory - Class in info.magnolia.resourceloader.jcr
 
JcrResourceOriginFactory(Provider<SystemContext>) - Constructor for class info.magnolia.resourceloader.jcr.JcrResourceOriginFactory
 

L

LayeredResource - Class in info.magnolia.resourceloader.layered
LayeredResourceOrigin - Class in info.magnolia.resourceloader.layered
An implementation of ResourceOrigin which aggregates other instances of ResourceOrigin; resources located on the same path will be served from the foremost ResourceOrigin, but resources that exist only on one path will always be served.
LayeredResourceOriginFactory - Class in info.magnolia.resourceloader.layered
 
LayeredResourceOriginFactory() - Constructor for class info.magnolia.resourceloader.layered.LayeredResourceOriginFactory
 
legacy() - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations
 
LEGACY_PREFIX - Static variable in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations
 
LegacyClasspathFile - Class in info.magnolia.resourceloader.classpath.service.impl.legacy
Variation of ProductionModeClasspathFile which maps the legacy (pre-5.4) classpath resource locations to the new logic by means of relaying the /mgnl-resources prefixed classpath resources to paths without such prefix.
LegacyClasspathFile(String) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.legacy.LegacyClasspathFile
 
LegacyClasspathResourceOrigin - Class in info.magnolia.resourceloader.classpath
Exposes resources under the /mgnl-resources/ folder as if they were under the root path.
LegacyClasspathResourceOrigin(String, LegacyClasspathService) - Constructor for class info.magnolia.resourceloader.classpath.LegacyClasspathResourceOrigin
 
LegacyClasspathResourceOriginFactory - Class in info.magnolia.resourceloader.classpath
 
LegacyClasspathResourceOriginFactory(Provider<LegacyClasspathService>) - Constructor for class info.magnolia.resourceloader.classpath.LegacyClasspathResourceOriginFactory
 
LegacyClasspathService - Class in info.magnolia.resourceloader.classpath.service.impl.legacy
Classpath resource origin which hosts the pre-5.4 classpath resources (from the /mgnl-resources prefixed locations).
LegacyClasspathService(DefaultClasspathServiceConfigurations) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.legacy.LegacyClasspathService
 
legacyWithVfs() - Static method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathFileConstructionStrategy
 
listChildren() - Method in class info.magnolia.resourceloader.AbstractResource
 
listChildren(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
listChildren(ClasspathResource) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
listChildren(FileSystemResource) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
listChildren(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
listChildren(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
listChildren() - Method in interface info.magnolia.resourceloader.Resource
 
listChildren() - Method in class info.magnolia.resourceloader.ResourceStub
 
log(ResourceVisitor) - Static method in class info.magnolia.resourceloader.util.LoggingResourceVisitor
 
LoggingResourceVisitor - Class in info.magnolia.resourceloader.util
A ResourceVisitor which logs the files and directories it traverses, then simply delegate to another given visitor.

M

modified(Path) - Method in interface info.magnolia.dirwatch.WatcherCallback
 
MonitoredClasspathService - Interface in info.magnolia.resourceloader.classpath.service
ClasspathService variation which monitors the changes of classpath resources and communicates those to the subscribers.

N

never() - Static method in class info.magnolia.resourceloader.util.Functions
Convenient Predicate which simply delegates to Predicates.alwaysFalse(), avoids verbose type parameter declaration, and provides a (debatably) better name.
newLayeredResource(List<Resource>) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
newResource(Path) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
Create a Resource out of a relative path.
newResource(Node) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 

O

on(Predicate<Resource>) - Static method in class info.magnolia.resourceloader.util.FileResourceCollectorVisitor
 
on(Predicate<Resource>, Predicate<Resource>) - Static method in class info.magnolia.resourceloader.util.FileResourceCollectorVisitor
 
onAllMatchingFiles(Predicate<Resource>, Function<Resource, Void>) - Static method in class info.magnolia.resourceloader.util.PredicatedResourceVisitor
Traverses all directories, and applies the given Function to all files, according to applyToFile.
openReader() - Method in class info.magnolia.resourceloader.AbstractResource
 
openReader(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
openReader(JcrResource) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
openReader(LayeredResource) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
openReader() - Method in interface info.magnolia.resourceloader.Resource
Opens a Reader for this resource; if the associated ResourceOrigin can guess it, this will have been opened with the corrected encoding.
openReader() - Method in class info.magnolia.resourceloader.ResourceStub
 
openStream() - Method in class info.magnolia.resourceloader.AbstractResource
 
openStream(P) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
openStream() - Method in interface info.magnolia.resourceloader.classpath.hierarchy.ClasspathFile
Get classpath file contents stream.
openStream() - Method in class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathFile
 
openStream() - Method in class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile
 
openStream() - Method in interface info.magnolia.resourceloader.Resource
Opens an InputStream for this resource.
openStream() - Method in class info.magnolia.resourceloader.ResourceStub
 

P

pathEquals(CharSequence) - Static method in class info.magnolia.resourceloader.util.Functions
 
pathMatches(String) - Static method in class info.magnolia.resourceloader.util.Functions
 
pathMatches(Pattern) - Static method in class info.magnolia.resourceloader.util.Functions
Matches if the input Resource's handle matches the given pattern.
pathMatches(Predicate<CharSequence>) - Static method in class info.magnolia.resourceloader.util.Functions
 
pathStartsWith(CharSequence) - Static method in class info.magnolia.resourceloader.util.Functions
 
PredicatedResourceVisitor - Class in info.magnolia.resourceloader.util
A ResourceVisitor constructed with Predicates and a Function to determine its behavior.
PredicatedResourceVisitor(Predicate<Resource>, Predicate<Resource>, Predicate<Resource>, Function<Resource, Void>) - Constructor for class info.magnolia.resourceloader.util.PredicatedResourceVisitor
 
processEvent(WatchEvent.Kind<?>, Path, WatchEvent<?>) - Method in class info.magnolia.dirwatch.DirectoryWatcher
Process given pending WatchEvent as needed.
productionMode() - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations
 
ProductionModeClasspathFile - Class in info.magnolia.resourceloader.classpath.service.impl.production
ClasspathFile implementation oriented onto production application mode.
ProductionModeClasspathFile(String) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile
 
ProductionModeClasspathService - Class in info.magnolia.resourceloader.classpath.service.impl.production
Classpath service implementation which targets production application mode.
ProductionModeClasspathService(DefaultClasspathServiceConfigurations, ClasspathEntriesResolver) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathService
 
ProductionModeClasspathService(ClasspathServiceConfiguration, ClasspathEntriesResolver) - Constructor for class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathService
Alternative c-tor which allows to pass in a custom classpath configuration.
productionWithVfs() - Static method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathFileConstructionStrategy
 

R

register(Path, Predicate<Path>, WatcherCallback) - Method in class info.magnolia.dirwatch.DirectoryWatcher
 
register(Path, Predicate<Path>, WatcherCallback) - Method in class info.magnolia.dirwatch.DirectoryWatcherService
Registers a directory to the DirectoryWatcher, with given filtering predicate and callback.
registerDirectory(Path) - Method in class info.magnolia.dirwatch.DirectoryWatcher
Register the given directory with the WatchService.
registerRecursively(Path, Predicate<Path>) - Method in class info.magnolia.dirwatch.DirectoryWatcher
Register the given directory, and all its sub-directories, with the WatchService.
registerResourceChangeCallback(VoidFunction<String>) - Method in class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathService
 
registerResourceChangeCallback(VoidFunction<String>) - Method in interface info.magnolia.resourceloader.classpath.service.MonitoredClasspathService
Subscribe to the classpath resource changes via a callback function.
reload(long) - Method in class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathService
 
reload(long) - Method in interface info.magnolia.resourceloader.classpath.service.MonitoredClasspathService
 
removed(Path) - Method in interface info.magnolia.dirwatch.WatcherCallback
 
resolveClasspathEntries(ClasspathServiceConfiguration) - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathEntriesResolver.ReflectionsVfsBased
 
resolveClasspathEntries(ClasspathServiceConfiguration) - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathEntriesResolver
Resolve classpath enty mappings bound to the classpath configuration.
resolveResources() - Method in class info.magnolia.resourceloader.classpath.service.impl.base.ClasspathServiceBase
 
resolveUrl() - Method in class info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile
 
Resource - Interface in info.magnolia.resourceloader
The Resource is a common specific type for dealing with resources uniformly across arbitrary ResourceOrigins.
ResourceOrigin<P extends Resource> - Interface in info.magnolia.resourceloader
Common interface for all resource file origins (e.g.
ResourceOrigin.ResourceNotFoundException - Exception in info.magnolia.resourceloader
Thrown when a given path can't be found.
ResourceOrigin.ResourceNotFoundException(ResourceOrigin, String) - Constructor for exception info.magnolia.resourceloader.ResourceOrigin.ResourceNotFoundException
 
ResourceOriginFactory - Interface in info.magnolia.resourceloader
ResourceOriginFactory implementations are typically generated with @AutoFactory.
RESOURCES_DIR_PROPERTY - Static variable in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
RESOURCES_WORKSPACE - Static variable in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
ResourceStub - Class in info.magnolia.resourceloader
Resource placeholder.
ResourceTreeWalker - Class in info.magnolia.resourceloader.util
Implements a simple traversal of a tree of Resource.
ResourceTreeWalker(ResourceVisitor) - Constructor for class info.magnolia.resourceloader.util.ResourceTreeWalker
 
ResourceVisitor - Interface in info.magnolia.resourceloader
run() - Method in class info.magnolia.dirwatch.DirectoryWatcher
 

S

start() - Method in class info.magnolia.dirwatch.DirectoryWatcherService
 
startMonitoring() - Method in class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathService
 
startMonitoring() - Method in interface info.magnolia.resourceloader.classpath.service.MonitoredClasspathService
 
stop() - Method in class info.magnolia.dirwatch.DirectoryWatcherService
 
stopMonitoring() - Method in class info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathService
 
stopMonitoring() - Method in interface info.magnolia.resourceloader.classpath.service.MonitoredClasspathService
 

T

TEXT_PROPERTY - Static variable in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
toString() - Method in class info.magnolia.resourceloader.AbstractResource
 
toString() - Method in class info.magnolia.resourceloader.layered.LayeredResource
 
traverse(Resource) - Method in class info.magnolia.resourceloader.util.ResourceTreeWalker
 
traverseWith(ResourceVisitor) - Method in class info.magnolia.resourceloader.AbstractResourceOrigin
 
traverseWith(ResourceVisitor) - Method in interface info.magnolia.resourceloader.ResourceOrigin
Traverses this ResourceOrigin from the root, according to the given ResourceVisitor.

U

URLConnectionUtil - Class in info.magnolia.resourceloader.classpath.service.impl
Utility class for URLConnection.
URLConnectionUtil() - Constructor for class info.magnolia.resourceloader.classpath.service.impl.URLConnectionUtil
 

V

validateRootPath(String) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
visitDirectory(Resource) - Method in interface info.magnolia.resourceloader.ResourceVisitor
Determines if we should visit this directory resource.
visitDirectory(Resource) - Method in class info.magnolia.resourceloader.util.LoggingResourceVisitor
 
visitDirectory(Resource) - Method in class info.magnolia.resourceloader.util.PredicatedResourceVisitor
 
visitFile(Resource) - Method in interface info.magnolia.resourceloader.ResourceVisitor
Implementations can decide to do anything with the file; note that ResourceVisitor.visitDirectory(Resource) is NOT called for files.
visitFile(Resource) - Method in class info.magnolia.resourceloader.util.LoggingResourceVisitor
 
visitFile(Resource) - Method in class info.magnolia.resourceloader.util.PredicatedResourceVisitor
 
VoidFunction<T> - Class in info.magnolia.resourceloader.util
Convenient abstract class that implements a Function whose target type is Void, e.g avoids having to declare the Void type parameter having to explicitly return null in implements.
VoidFunction() - Constructor for class info.magnolia.resourceloader.util.VoidFunction
 

W

WatcherCallback - Interface in info.magnolia.dirwatch
This is the DirectoryWatcher's own callback interface for typical WatchEvent kinds.
watchForChanges(ResourceVisitor) - Method in class info.magnolia.resourceloader.classpath.ClasspathResourceOrigin
 
watchForChanges(ResourceVisitor) - Method in class info.magnolia.resourceloader.file.FileSystemResourceOrigin
 
watchForChanges(ResourceVisitor) - Method in class info.magnolia.resourceloader.jcr.JcrResourceOrigin
 
watchForChanges(ResourceVisitor) - Method in class info.magnolia.resourceloader.layered.LayeredResourceOrigin
 
watchForChanges(ResourceVisitor) - Method in interface info.magnolia.resourceloader.ResourceOrigin
Sets up observation for this origin, and hooks it to the given callback ResourceVisitor.
with(Function<Resource, Void>) - Static method in class info.magnolia.resourceloader.util.PredicatedResourceVisitor
Visits everything and applies the given Function to everything.
with(Predicate<Resource>, Function<Resource, Void>) - Static method in class info.magnolia.resourceloader.util.PredicatedResourceVisitor
Visits according to the given visitAndApply predicate and applies the given Function according to visitAndApply.
with(Predicate<Resource>, Predicate<Resource>, Function<Resource, Void>) - Static method in class info.magnolia.resourceloader.util.PredicatedResourceVisitor
Visits according to the given visitDirectory predicate and applies the given Function according to applyFunction.
with(Predicate<Resource>, Predicate<Resource>, Predicate<Resource>, Function<Resource, Void>) - Static method in class info.magnolia.resourceloader.util.PredicatedResourceVisitor
Visits according to the given visitDirectory predicate and applies the given Function according to applyToDirectory and applyToFile depending on the resource's type.
withCharset(Charset) - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations.Builder
 
withClasspathLocations(Iterable<URL>) - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations.Builder
 
withPath(String) - Static method in class info.magnolia.resourceloader.ResourceStub
 
withResourceFilter(Predicate<String>) - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations.Builder
 
withScannableResourcePattern(Pattern) - Method in class info.magnolia.resourceloader.classpath.DefaultClasspathServiceConfigurations.Builder
 
A B C D E F G H I J L M N O P R S T U V W 

Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.