- All Implemented Interfaces:
- ResourceFactory
public class StaticResourceFactory
extends Object
implements ResourceFactory
Used for providing simple readonly access to resources which are files in a
conventional file system.
Can be provided with a single or multiple root directories. If multiple they
are searched in turn for a matching resource
Will check for a system property static.resource.roots which, if present, is
expected to be a comma delimited list of absolute paths to root locations. An
exception will be thrown if a path is given which does not exist
- Author:
- brad